libubus: replace __init with __constructor
authorZefir Kurtisi <zefir.kurtisi@neratec.com>
Wed, 17 Sep 2014 10:30:49 +0000 (12:30 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 17 Sep 2014 11:29:24 +0000 (13:29 +0200)
commit4d1cdc55274aac9d032e3ae4bbf0ab72336ba9ac
treecf748fd8a7e9db83cb1df164588d7d3154638c50
parente52db46c9c5d8eabe5abaccf28468c6e0b99be95
libubus: replace __init with __constructor

__init has a naming collision with C++ and prevents ubus_common.h
from being included. Instead, use __constructor as defined from
libubox.

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
ubus_common.h
ubusd_obj.c
ubusd_proto.c