summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-23 09:25:27 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-23 09:25:27 +0000
commit455fbd2373cfc63b21c4fa2fcae4806710438fa9 (patch)
tree557c4c2dbd9324bf065c8a1a6258acf36165926b /hash.c
parent757f1b135dfa5534fe24ba0c544556b04288d503 (diff)
* hash.c (rb_obj_is_proc): declaration moved for rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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)
{