summaryrefslogtreecommitdiffstats
path: root/src/afb-msg-json.c
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2018-07-30 17:43:14 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-08-02 15:49:43 +0200
commitb4455a71edcf9030c3b64c8bc13f9d50f1624aa4 (patch)
treeac52d0f4830bbe1fffb2d5eb6dbf7b89b732d3b0 /src/afb-msg-json.c
parentf70e19aff15da495509e28906715d0b2e1c0798c (diff)
afb-msg-json: remove obsolete function
The function afb_msg_json_internal_error was based on the previous reply standard and was not used very much. Removing it seems a good idea. Change-Id: I3dddee9c24ffd8c43c787b9b6a737ab013d757b7 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-msg-json.c')
-rw-r--r--src/afb-msg-json.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/afb-msg-json.c b/src/afb-msg-json.c
index ceeee1a4..25a96214 100644
--- a/src/afb-msg-json.c
+++ b/src/afb-msg-json.c
@@ -75,9 +75,4 @@ struct json_object *afb_msg_json_event(const char *event, struct json_object *ob
return msg;
}
-struct json_object *afb_msg_json_internal_error()
-{
- return afb_msg_json_reply(NULL, "failed", "internal error", NULL);
-}
-