summaryrefslogtreecommitdiffhomepage
path: root/lib/math.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/math.c')
-rw-r--r--lib/math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/math.c b/lib/math.c
index 0adfaf8..bc8efb6 100644
--- a/lib/math.c
+++ b/lib/math.c
@@ -160,5 +160,5 @@ static const uc_cfunction_list math_fns[] = {
void uc_module_init(uc_vm *vm, uc_value_t *scope)
{
- uc_add_proto_functions(scope, math_fns);
+ uc_add_functions(scope, math_fns);
}