afb-export: Monitor calls to API initialisation
[src/app-framework-binder.git] / src / afb-trace.c
index 5f54b17..dd6e863 100644 (file)
@@ -489,7 +489,7 @@ static void hook_xreq_get_uid(void *closure, const struct afb_hookid *hookid, co
 
 static void hook_xreq_get_client_info(void *closure, const struct afb_hookid *hookid, const struct afb_xreq *xreq, struct json_object *result)
 {
-       hook_xreq(closure, hookid, xreq, "get_client_info", "{so}",
+       hook_xreq(closure, hookid, xreq, "get_client_info", "{sO}",
                                        "result", result);
 }
 
@@ -1739,7 +1739,7 @@ int afb_trace_add(afb_req_t req, struct json_object *args, struct afb_trace *tra
 }
 
 /* drop traces */
-extern int afb_trace_drop(afb_req_t req, struct json_object *args, struct afb_trace *trace)
+int afb_trace_drop(afb_req_t req, struct json_object *args, struct afb_trace *trace)
 {
        int rc;
        struct context context;