summaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-plugin.h
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-10-25 13:42:36 +0200
committerGitHub <noreply@github.com>2017-10-25 13:42:36 +0200
commitc0880c47de846ae2c93f5e257a4e83cae2fcfaae (patch)
tree003087aced848c1652e4f31a347101fd508368da /ctl-lib/ctl-plugin.h
parentd0563706f01f9da67de39a30e6eeb324cc25652d (diff)
parente4ba317ba1ee903dece9005d5f78e0d1da71ed38 (diff)
Merge pull request #1 from claneys/patch-1
Fix: issue at compile time
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_ */