summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-07 00:04:36 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-07 00:04:36 +0900
commit0bbab1e5151c3396ebe544d09cad997cd9cb5e3b (patch)
tree9ca2db82ab1b42c3902733d640228bb8eeb5f638 /vm_method.c
parent99644514db3768e4fd47d6ff9111091ab1a5a6d2 (diff)
Protoized old pre-ANSI K&R style declarations and definitions
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c
index ffb290d601..be0c1ef719 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -416,7 +416,7 @@ static VALUE
}
static void
-setup_method_cfunc_struct(rb_method_cfunc_t *cfunc, VALUE (*func)(), int argc)
+setup_method_cfunc_struct(rb_method_cfunc_t *cfunc, VALUE (*func)(ANYARGS), int argc)
{
cfunc->func = func;
cfunc->argc = argc;