From d663f702c0e4fa562783504a483dce8f362d628e Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 12 Sep 2017 00:29:28 +0200 Subject: Progression on config parsing. Change-Id: Idd8d8987ccabef381f6d79c1d508930a2d4bae3c Signed-off-by: Romain Forlot --- controller/ctl-plugin.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'controller/ctl-plugin.h') diff --git a/controller/ctl-plugin.h b/controller/ctl-plugin.h index c0aa2e2..7c1d0f1 100644 --- a/controller/ctl-plugin.h +++ b/controller/ctl-plugin.h @@ -20,17 +20,16 @@ #ifndef _CTL_PLUGIN_INCLUDE_ #define _CTL_PLUGIN_INCLUDE_ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif + #include #ifndef CTL_PLUGIN_MAGIC #define CTL_PLUGIN_MAGIC 852369147 #endif -#ifndef PUBLIC - #define PUBLIC -#endif - #ifndef STATIC #define STATIC static #endif @@ -71,4 +70,4 @@ typedef void*(*DispatchPluginInstallCbT)(CtlPluginT *plugin, void* handle); #define CTLP_ONLOAD(plugin, handle) void* CtlPluginOnload(CtlPluginT *plugin, void* handle) #define CTLP_CAPI(funcname, source, argsJ, queryJ, context) int funcname(CtlSourceT *source, json_object* argsJ, json_object* queryJ, void* context) -#endif /* _CTL_PLUGIN_INCLUDE_ */ \ No newline at end of file +#endif /* _CTL_PLUGIN_INCLUDE_ */ -- cgit 1.2.3-korg