summaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-plugin.h
diff options
context:
space:
mode:
authorForlot Romain [IoT.bzh] <claneys@iot.bzh>2017-10-25 11:47:57 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 15:02:54 +0100
commita295417a17e97a4109afd41be335b1039edf894d (patch)
tree003087aced848c1652e4f31a347101fd508368da /ctl-lib/ctl-plugin.h
parent67d50c819ea60b00a3441d446ce6719ec3bf2349 (diff)
Fix: issue at compile time
ctl-plugin.h:124:34: error: expected expression before ‘...’ token
Diffstat (limited to 'ctl-lib/ctl-plugin.h')
-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_ */