aboutsummaryrefslogtreecommitdiffstats
path: root/src/main-afb-daemon.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-07-12 11:22:14 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-07-13 12:19:11 +0200
commit93d8d6f69399dacbb43c0780ebccc378b4f44880 (patch)
treed34a7947b0e6882de75591a1e66c66f678c061fe /src/main-afb-daemon.c
parent6c003255918fc85b693a4b0becf45016d1282dfe (diff)
afb-supervision: Remove dependency to external
Also some cleaning in use of extern to allow accurate grep. Removing extern is better for linking and for structuration. Change-Id: I8121c4b9b34fa2737bffd2ecbe170d04d1d60ad1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/main-afb-daemon.c')
-rw-r--r--src/main-afb-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main-afb-daemon.c b/src/main-afb-daemon.c
index 4be6cc53..75d51901 100644
--- a/src/main-afb-daemon.c
+++ b/src/main-afb-daemon.c
@@ -580,7 +580,7 @@ static void start(int signum, void *arg)
goto error;
}
#if defined(WITH_SUPERVISION)
- if (afb_supervision_init() < 0) {
+ if (afb_supervision_init(main_apiset, main_config) < 0) {
ERROR("failed to setup supervision");
goto error;
}