X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=ubusd_event.c;h=85031a6fc150c94847b1db9b3381f8ff485ea72b;hp=11b51eeeeb91d7f152e4bc33ec13a9373bf7dd83;hb=7e746e5a850b1c5ef87b8d8538e921f2051f5471;hpb=42bc27ae38d92f4fe11872b0f9d57f8d3578dcfe diff --git a/ubusd_event.c b/ubusd_event.c index 11b51ee..85031a6 100644 --- a/ubusd_event.c +++ b/ubusd_event.c @@ -134,7 +134,7 @@ static void ubusd_send_event_msg(struct ubus_msg_buf **ub, struct ubus_client *c 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])