diff options
Diffstat (limited to 'procd.h')
-rw-r--r-- | procd.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,6 +5,8 @@ #include <libubus.h> #include <stdio.h> +#define __init __attribute__((constructor)) + #define DPRINTF(fmt, ...) do { \ if (debug) \ fprintf(stderr, "DEBUG %s(%d): " fmt, __func__, __LINE__, ## __VA_ARGS__); \ @@ -13,6 +15,6 @@ extern int debug; extern char *ubus_socket; void procd_connect_ubus(void); -void procd_register_objects(struct ubus_context *ctx); +void procd_init_service(struct ubus_context *ctx); #endif |