diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-06-19 16:33:32 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-10-08 15:53:53 +0200 |
commit | 51dff31e2c0183458a4ed53c06b02625529cc3e4 (patch) | |
tree | 3386bc58137ec79cb96620be4fe0ac6eb330f794 /4a-hal/4a-hal-manager/4a-hal-manager-cb.c | |
parent | 8e923d9e07f483d209269d4af9070ed729600f05 (diff) |
Remove boolean library
As it was almost never used in code, remove boolean library.
Change-Id: I9264ffd5600a7d9526f4f4cfa8209a0cd0e5bb77
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal/4a-hal-manager/4a-hal-manager-cb.c')
-rw-r--r-- | 4a-hal/4a-hal-manager/4a-hal-manager-cb.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c index 73e0e7a..680863e 100644 --- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c +++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c @@ -19,7 +19,6 @@ #include <stdio.h> #include <string.h> -#include <stdbool.h> #include <wrap-json.h> @@ -193,7 +192,7 @@ void HalMgrLoad(AFB_ReqT request) addedHal = HalUtlAddHalApiToHalList(&HalMgrGlobalData->first); - addedHal->internal = false; + addedHal->internal = 0; // TBD JAI : initialize external to unavailable once event from external hal will be handled addedHal->status = HAL_STATUS_READY; @@ -278,7 +277,7 @@ void HalMgrSubscribeEvent(AFB_ReqT request) { AFB_ReqWarning(request, "%s not implemented yet", __func__); - AFB_ReqSuccess(request, json_object_new_boolean(false), NULL); + AFB_ReqSuccess(request, json_object_new_boolean(0), NULL); } // TBD JAI : to implement @@ -286,5 +285,5 @@ void HalMgrUnsubscribeEvent(AFB_ReqT request) { AFB_ReqWarning(request, "%s not implemented yet", __func__); - AFB_ReqSuccess(request, json_object_new_boolean(false), NULL); + AFB_ReqSuccess(request, json_object_new_boolean(0), NULL); }
\ No newline at end of file |