[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);
ubus_msg_send(obj->client, *ub, false);
}
-bool strmatch_len(const char *s1, const char *s2, int *len)
+static bool strmatch_len(const char *s1, const char *s2, int *len)
{
for (*len = 0; s1[*len] == s2[*len]; (*len)++)
if (!s1[*len])