From e4ba317ba1ee903dece9005d5f78e0d1da71ed38 Mon Sep 17 00:00:00 2001 From: "Forlot Romain [IoT.bzh]" Date: Wed, 25 Oct 2017 11:47:57 +0200 Subject: Fix: issue at compile time MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ctl-plugin.h:124:34: error: expected expression before ‘...’ token --- ctl-lib/ctl-plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ctl-lib/ctl-plugin.h b/ctl-lib/ctl-plugin.h index b2f161d..d02670d 100644 --- a/ctl-lib/ctl-plugin.h +++ b/ctl-lib/ctl-plugin.h @@ -121,7 +121,7 @@ #define AFB_ServiceCall(api, ...) afb_service_call(__VA_ARGS__) #define AFB_ServiceSync(api, ...) afb_service_call_sync(__VA_ARGS__) - #define AFB_RequireApi (api, ...) afb_daemon_require_api(__VA_ARGS__) + #define AFB_RequireApi(api, ...) afb_daemon_require_api(__VA_ARGS__) #define AFB_GetEventLoop(api) afb_daemon_get_event_loop() @@ -232,4 +232,4 @@ typedef int (*Lua2cWrapperT) (void*luaHandle, char *funcname, Lua2cFunctionT cal int lua2c_ ## funcname (void* luaState){return((*Lua2cWrap)(luaState, MACRO_STR_VALUE(funcname), funcname));};\ static int funcname (CtlSourceT* source, json_object* argsJ, json_object** responseJ) -#endif /* _CTL_PLUGIN_INCLUDE_ */ \ No newline at end of file +#endif /* _CTL_PLUGIN_INCLUDE_ */ -- cgit 1.2.3-korg