Add extern C to booting-internal.h 32/242932/1 accepted/tizen/6.0/unified/20201030.121413 accepted/tizen/6.0/unified/hotfix/20201103.004957 accepted/tizen/6.0/unified/hotfix/20201103.052416 accepted/tizen/unified/20200903.151810 submit/tizen/20200902.052241 submit/tizen_6.0/20201029.205102 submit/tizen_6.0_hotfix/20201102.192502 submit/tizen_6.0_hotfix/20201103.114802 tizen_6.0.m2_release
authorYoungjae Cho <y0.cho@samsung.com>
Wed, 2 Sep 2020 04:53:05 +0000 (13:53 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Wed, 2 Sep 2020 04:53:32 +0000 (13:53 +0900)
Change-Id: I2d5bbb836caae6a2bfc35a9a888bf0a1f5155dbc
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
include/booting-internal.h

index 962d480..75f8718 100644 (file)
 #ifndef __TIZEN_SYSTEM_BOOTING_INTERNAL_H__
 #define __TIZEN_SYSTEM_BOOTING_INTERNAL_H__
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef enum {
        NORMAL_BOOT = 0,
        SILENT_BOOT,
@@ -24,4 +28,8 @@ typedef enum {
 
 int device_get_reboot_mode(void);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif