From 9c513a770ec2559951fd257d2a22470674672164 Mon Sep 17 00:00:00 2001 From: Youngjae Cho Date: Wed, 2 Sep 2020 13:53:05 +0900 Subject: [PATCH] Add extern C to booting-internal.h Change-Id: I2d5bbb836caae6a2bfc35a9a888bf0a1f5155dbc Signed-off-by: Youngjae Cho --- include/booting-internal.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/booting-internal.h b/include/booting-internal.h index 962d480..75f8718 100644 --- a/include/booting-internal.h +++ b/include/booting-internal.h @@ -17,6 +17,10 @@ #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 -- 2.7.4