summaryrefslogtreecommitdiffhomepage
path: root/lib/ubus.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ubus.c')
-rw-r--r--lib/ubus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ubus.c b/lib/ubus.c
index fb7600a..933ef3a 100644
--- a/lib/ubus.c
+++ b/lib/ubus.c
@@ -322,7 +322,7 @@ static void close_connection(void *ud) {
void uc_module_init(uc_vm *vm, uc_value_t *scope)
{
- uc_add_proto_functions(scope, global_fns);
+ uc_add_functions(scope, global_fns);
conn_type = uc_declare_type(vm, "ubus.connection", conn_fns, close_connection);
}