projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libubus: define _GNU_SOURCE, needed for O_CLOEXEC
[project/ubus.git]
/
ubusd_obj.c
diff --git
a/ubusd_obj.c
b/ubusd_obj.c
index 3859c45728cbbd1ebe8c4ffff3976101b8c7708e..8923821e0827fe3fb904ae57e212ed7cc33f0016 100644
(file)
--- a/
ubusd_obj.c
+++ b/
ubusd_obj.c
@@
-219,7
+219,7
@@
void ubusd_free_object(struct ubus_object *obj)
free(obj);
}
-static void __
init
ubusd_obj_init(void)
+static void __
constructor
ubusd_obj_init(void)
{
ubus_init_id_tree(&objects);
ubus_init_id_tree(&obj_types);