X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=service.c;h=e51e399f5ee7ee333364f2f953ccff6a963ff835;hp=16593fc976705c86f399160219ea34a99c802cf9;hb=6390afe7a3cf1663979078711febb2be21fb4cf2;hpb=0f479be2068d7fe3bd5953e7454aaabb2be38d93 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);