aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-supervision.h
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/afb-supervision.h
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/afb-supervision.h')
-rw-r--r--src/afb-supervision.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/afb-supervision.h b/src/afb-supervision.h
index 5ffd432e..0acf7f6e 100644
--- a/src/afb-supervision.h
+++ b/src/afb-supervision.h
@@ -18,4 +18,7 @@
#pragma once
-extern int afb_supervision_init();
+struct afb_apiset;
+struct afb_config;
+
+extern int afb_supervision_init(struct afb_apiset *apiset, struct afb_config *config);