summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index 24a984a529..2ccd69bbcb 100644
--- a/hash.c
+++ b/hash.c
@@ -612,6 +612,8 @@ rb_hash_default_proc(VALUE hash)
return Qnil;
}
+VALUE rb_obj_is_proc(VALUE proc);
+
/*
* call-seq:
* hsh.default_proc = proc_obj => proc_obj
@@ -625,8 +627,6 @@ rb_hash_default_proc(VALUE hash)
* h["cat"] #=> "catcat"
*/
-VALUE rb_obj_is_proc(VALUE proc);
-
static VALUE
rb_hash_set_default_proc(VALUE hash, VALUE proc)
{