From 51dff31e2c0183458a4ed53c06b02625529cc3e4 Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Tue, 19 Jun 2018 16:33:32 +0200 Subject: Remove boolean library As it was almost never used in code, remove boolean library. Change-Id: I9264ffd5600a7d9526f4f4cfa8209a0cd0e5bb77 Signed-off-by: Jonathan Aillet --- 4a-hal/4a-hal-manager/4a-hal-manager-cb.c | 7 +++---- 4a-hal/4a-hal-manager/4a-hal-manager-events.c | 1 - 4a-hal/4a-hal-manager/4a-hal-manager.c | 1 - 3 files changed, 3 insertions(+), 6 deletions(-) (limited to '4a-hal/4a-hal-manager') 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 #include -#include #include @@ -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 diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-events.c b/4a-hal/4a-hal-manager/4a-hal-manager-events.c index a2bbe33..96299a0 100644 --- a/4a-hal/4a-hal-manager/4a-hal-manager-events.c +++ b/4a-hal/4a-hal-manager/4a-hal-manager-events.c @@ -19,7 +19,6 @@ #include #include -#include #include diff --git a/4a-hal/4a-hal-manager/4a-hal-manager.c b/4a-hal/4a-hal-manager/4a-hal-manager.c index 61e2474..8a447c4 100644 --- a/4a-hal/4a-hal-manager/4a-hal-manager.c +++ b/4a-hal/4a-hal-manager/4a-hal-manager.c @@ -18,7 +18,6 @@ #define _GNU_SOURCE #include -#include #include #include -- cgit 1.2.3-korg