summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--hash.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 36c8420c34..663ed22eae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Sep 23 18:24:34 2008 Tanaka Akira <akr@fsij.org>
+
+ * hash.c (rb_obj_is_proc): declaration moved for rdoc.
+
Tue Sep 23 18:07:55 2008 Koichi Sasada <ko1@atdot.net>
* common.mk (io.o): remove dependency for vm_core.h.
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)
{