aboutsummaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-09-19 11:18:29 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:57:27 +0200
commitdaff7a6ee4900e54dee42f5528a32ef50bd5bcab (patch)
tree88e042d277f255807d7e01dd9eee6f80d75cc6cf /4a-hal/4a-hal-manager/4a-hal-manager-cb.c
parent5e00458411e8bbfa146c0f6c256d740830cc0396 (diff)
Remove unnecessary 'function' string in prints
Function's names was printed using '__func__' when calling application framework prints functions. But, as the application framework prints functions already prints them, '__func__' has been removed from print calls to avoid duplicated information. Change-Id: I0dea49a9d84b7ccdbdaecec67ced6c98b5ed26d6 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.c8
1 files changed, 4 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 cc6b989..1b08b82 100644
--- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
+++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
@@ -34,7 +34,7 @@
// TBD JAI : to implement
void HalMgrDispatchApiEvent(AFB_ApiT apiHandle, const char *evtLabel, json_object *eventJ)
{
- AFB_ApiWarning(apiHandle, "%s not implemented yet", __func__);
+ AFB_ApiWarning(apiHandle, "Not implemented yet");
// Use "4a-hal-manager-events.h" to handle events
}
@@ -93,7 +93,7 @@ void HalMgrLoaded(AFB_ReqT request)
requestJson = AFB_ReqJson(request);
if(! requestJson)
- AFB_ReqNotice(request, "%s: Can't get request json", __func__);
+ AFB_ReqNotice(request, "Can't get request json");
else
requestJsonErr = wrap_json_unpack(requestJson, "{s?:b s?:b}", "all", &allHal, "verbose", &verbose);
@@ -264,7 +264,7 @@ void HalMgrUnload(AFB_ReqT request)
// TBD JAI : to implement
void HalMgrSubscribeEvent(AFB_ReqT request)
{
- AFB_ReqWarning(request, "%s not implemented yet", __func__);
+ AFB_ReqWarning(request, "Not implemented yet");
AFB_ReqSuccess(request, json_object_new_boolean(0), NULL);
}
@@ -272,7 +272,7 @@ void HalMgrSubscribeEvent(AFB_ReqT request)
// TBD JAI : to implement
void HalMgrUnsubscribeEvent(AFB_ReqT request)
{
- AFB_ReqWarning(request, "%s not implemented yet", __func__);
+ AFB_ReqWarning(request, "Not implemented yet");
AFB_ReqSuccess(request, json_object_new_boolean(0), NULL);
}