summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm_eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_eval.c b/vm_eval.c
index a0f8e55f5d..b449cd4996 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -1218,7 +1218,7 @@ iterate_method(VALUE obj)
VALUE
rb_block_call(VALUE obj, ID mid, int argc, const VALUE * argv,
- VALUE (*bl_proc) (ANYARGS), VALUE data2)
+ rb_block_call_func_t bl_proc, VALUE data2)
{
struct iter_method_arg arg;
@@ -1257,7 +1257,7 @@ iterate_check_method(VALUE obj)
VALUE
rb_check_block_call(VALUE obj, ID mid, int argc, const VALUE *argv,
- VALUE (*bl_proc) (ANYARGS), VALUE data2)
+ rb_block_call_func_t bl_proc, VALUE data2)
{
struct iter_method_arg arg;