X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=ubus-example.c;fp=ubus-example.c;h=53d275b60d247faa85af7fc90804364f4ca48ec2;hp=99bf30baa9794865c1d17aeaef536e4a2d26f881;hb=95062c1ef74695d138bbc4b9efc5910b1436bd9c;hpb=d01ae223be029de4e7b7d6d435c44c655f9adc13 diff --git a/ubus-example.c b/ubus-example.c index 99bf30b..53d275b 100644 --- a/ubus-example.c +++ b/ubus-example.c @@ -60,7 +60,7 @@ static const struct blobmsg_policy watch_policy[__WATCH_MAX] = { [WATCH_ID] = { .name = "id", .type = BLOBMSG_TYPE_INT32 }, }; -void test_handle_event(struct ubus_context *ctx, struct ubus_watch_object *w, +static void test_handle_event(struct ubus_context *ctx, struct ubus_watch_object *w, uint32_t id) { fprintf(stderr, "Object %08x went away\n", id);