diff --git a/eval.c b/eval.c index 3b59db95c8..8dee8cb593 100644 --- a/eval.c +++ b/eval.c @@ -745,6 +745,8 @@ rb_interrupt(void) rb_raise(rb_eInterrupt, fmt); } +static VALUE get_errinfo(void); + /* * call-seq: * raise @@ -769,8 +771,6 @@ rb_interrupt(void) * raise ArgumentError, "No parameters", caller */ -static VALUE get_errinfo(void); - static VALUE rb_f_raise(int argc, VALUE *argv) { @@ -2599,6 +2599,8 @@ errat_setter(VALUE val, ID id, VALUE *var) set_backtrace(err, val); } +int vm_collect_local_variables_in_heap(rb_thread_t *th, VALUE *dfp, VALUE ary); + /* * call-seq: * local_variables => array @@ -2612,8 +2614,6 @@ errat_setter(VALUE val, ID id, VALUE *var) * local_variables #=> ["fred", "i"] */ -int vm_collect_local_variables_in_heap(rb_thread_t *th, VALUE *dfp, VALUE ary); - static VALUE rb_f_local_variables(void) {