aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorForlot Romain [IoT.bzh] <claneys@iot.bzh>2017-10-25 11:47:57 +0200
committerGitHub <noreply@github.com>2017-10-25 11:47:57 +0200
commite4ba317ba1ee903dece9005d5f78e0d1da71ed38 (patch)
tree003087aced848c1652e4f31a347101fd508368da
parentd0563706f01f9da67de39a30e6eeb324cc25652d (diff)
Fix: issue at compile time
ctl-plugin.h:124:34: error: expected expression before ‘...’ token
-rw-r--r--ctl-lib/ctl-plugin.h4
1 files 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_ */