summaryrefslogtreecommitdiffstats
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
commit56a6c96219fbe2f32e466de87eb43070993b6da2 (patch)
tree557c4c2dbd9324bf065c8a1a6258acf36165926b /hash.c
parent9189be79b767975da04d8ccfc8895dd2558156ae (diff)
downloadruby-56a6c96219fbe2f32e466de87eb43070993b6da2.tar.gz
ruby-56a6c96219fbe2f32e466de87eb43070993b6da2.tar.xz
ruby-56a6c96219fbe2f32e466de87eb43070993b6da2.zip
* hash.c (rb_obj_is_proc): declaration moved for rdoc.
git-svn-id: http://svn.ruby-lang.org/repos/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 24a984a52..2ccd69bbc 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)
{