summaryrefslogtreecommitdiffhomepage
path: root/lib/uci.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/uci.c')
-rw-r--r--lib/uci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uci.c b/lib/uci.c
index d9a9ea6..71a9c2d 100644
--- a/lib/uci.c
+++ b/lib/uci.c
@@ -1007,7 +1007,7 @@ static void close_uci(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);
cursor_type = uc_declare_type(vm, "uci.cursor", cursor_fns, close_uci);
}