projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libubus: replace __init with __constructor
[project/ubus.git]
/
ubusd_proto.c
diff --git
a/ubusd_proto.c
b/ubusd_proto.c
index
130e9a8
..
6b068eb
100644
(file)
--- 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);