summaryrefslogtreecommitdiffhomepage
path: root/src/ubus.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-10-13 12:09:28 +0200
committerHans Dedecker <dedeckeh@gmail.com>2017-10-13 14:44:33 +0200
commit5dfb716333ad12b86312ef5d8c824ea1ed3df26b (patch)
tree5df50754b419c5dfb95e7a672189ee7f6d0a6c4b /src/ubus.c
parentf0bce9cdd0f2d0e21e0d64cb7b653521d18040e2 (diff)
treewide: align function naming
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/ubus.c')
-rw-r--r--src/ubus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ubus.c b/src/ubus.c
index 6fbb98f..95eeff7 100644
--- a/src/ubus.c
+++ b/src/ubus.c
@@ -390,7 +390,7 @@ bool ubus_has_prefix(const char *name, const char *ifname)
}
-int init_ubus(void)
+int ubus_init(void)
{
if (!(ubus = ubus_connect(NULL))) {
syslog(LOG_ERR, "Unable to connect to ubus: %s", strerror(errno));