X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=ubusd_proto.c;h=6b068eb7ead65f5e49411e258ea7c7f9a9753efe;hp=130e9a8007aec328cb3be10494f0a0b15c5a4a22;hb=4d1cdc55274aac9d032e3ae4bbf0ab72336ba9ac;hpb=e52db46c9c5d8eabe5abaccf28468c6e0b99be95 diff --git a/ubusd_proto.c b/ubusd_proto.c index 130e9a8..6b068eb 100644 --- a/ubusd_proto.c +++ b/ubusd_proto.c @@ -506,7 +506,7 @@ void ubus_notify_unsubscribe(struct ubus_subscription *s) ubus_unsubscribe(s); } -static void __init ubusd_proto_init(void) +static void __constructor ubusd_proto_init(void) { ubus_init_id_tree(&clients);