summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-29 13:06:34 +0000
committerglass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-29 13:06:34 +0000
commit3118deb3ee40e7b1bc814482de1679ff2c0b9f97 (patch)
tree8f1f38abc0a631b632b7920feaedd0962e13e0ab
parentcff03715fff4e3fd9255afc41b6d3fa8c7d72089 (diff)
* hash.c (rb_hash_compare_by_id): add function prototype.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--hash.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7a9587d..96d1f92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jul 29 22:04:45 2013 Masaki Matsushita <glass.saga@gmail.com>
+
+ * hash.c (rb_hash_compare_by_id): add function prototype.
+
Mon Jul 29 21:53:41 2013 Masaki Matsushita <glass.saga@gmail.com>
* hash.c (rb_hash_compare_by_id): don't call rb_hash_rehash()
diff --git a/hash.c b/hash.c
index 70b6bd4..91a4e9f 100644
--- a/hash.c
+++ b/hash.c
@@ -2288,6 +2288,8 @@ rb_hash_flatten(int argc, VALUE *argv, VALUE hash)
return ary;
}
+static VALUE rb_hash_compare_by_id_p(VALUE hash);
+
/*
* call-seq:
* hsh.compare_by_identity -> hsh