summaryrefslogtreecommitdiffstats
path: root/service.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-03-08 23:52:52 +0100
committerJohn Crispin <blogic@openwrt.org>2013-03-13 18:58:14 +0100
commit6390afe7a3cf1663979078711febb2be21fb4cf2 (patch)
treefb1b589607a2c5b2d41f72c15b21ed38600a0e1c /service.c
parent0f479be2068d7fe3bd5953e7454aaabb2be38d93 (diff)
downloadunitd-6390afe7a3cf1663979078711febb2be21fb4cf2.tar
unitd-6390afe7a3cf1663979078711febb2be21fb4cf2.zip
add new main.c and fix Makefile/headers
Diffstat (limited to 'service.c')
-rw-r--r--service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service.c b/service.c
index 16593fc..e51e399 100644
--- a/service.c
+++ b/service.c
@@ -284,7 +284,7 @@ static struct ubus_object main_object = {
.n_methods = ARRAY_SIZE(main_object_methods),
};
-void procd_init_service(struct ubus_context *ctx)
+void ubus_init_service(struct ubus_context *ctx)
{
avl_init(&services, avl_strcmp, false, NULL);
ubus_add_object(ctx, &main_object);