Add extern C to booting-internal.h
[platform/core/api/device.git] / 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