Rewire extern "C" blocks 45/266345/1
authorjusung <jusung07.son@samsung.com>
Thu, 11 Nov 2021 00:12:27 +0000 (09:12 +0900)
committerjusung <jusung07.son@samsung.com>
Thu, 11 Nov 2021 00:12:27 +0000 (09:12 +0900)
This is needed in order not to #include "glib.h" in the extern "C"
blocks, which breaks in the newest GLib version.

Change-Id: Ie94aedff5bbbdb5f85b0abbb167d5e7d5498ea0c
Signed-off-by: jusung <jusung07.son@samsung.com>
include/eventsystem_daemon.h

index 706a89b..f6f853d 100644 (file)
  * header file for eventsystem_daemon
  */
 
+#include <stdbool.h>
+#include <glib.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-#include <stdbool.h>
-#include <glib.h>
-
 #undef LOG_TAG
 #define LOG_TAG "ESD"