summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-01 15:19:23 +0000
committerglass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-01 15:19:23 +0000
commit2c11bda8b936be5d857e64e238727fd3cea69918 (patch)
treeba168972e3db9b8ade200cc07d7e0d0d49df5eab
parent45379828f740ff2b60bb16f5fec3a17bd952e07d (diff)
* hash.c (rb_hash_keys): make rb_hash_keys() static.
it is no longer used from array.c since r43969. the patch is from normalperson (Eric Wong). [ruby-core:59449] [Feature #9336] * internal.h: remove definition of rb_hash_keys(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog9
-rw-r--r--hash.c2
-rw-r--r--internal.h1
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 085b464965..88b34f64cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Thu Jan 2 00:04:29 2014 Masaki Matsushita <glass.saga@gmail.com>
+
+ * hash.c (rb_hash_keys): make rb_hash_keys() static.
+ it is no longer used from array.c since r43969.
+ the patch is from normalperson (Eric Wong).
+ [ruby-core:59449] [Feature #9336]
+
+ * internal.h: remove definition of rb_hash_keys().
+
Wed Jan 1 18:19:35 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in: reset LDFLAGS and DLDFLAGS for opt-dir again after
diff --git a/hash.c b/hash.c
index 279461f8f4..0eca4b99a4 100644
--- a/hash.c
+++ b/hash.c
@@ -1743,7 +1743,7 @@ keys_i(VALUE key, VALUE value, VALUE ary)
*
*/
-VALUE
+static VALUE
rb_hash_keys(VALUE hash)
{
VALUE keys;
diff --git a/internal.h b/internal.h
index 40916a59a2..b0a4773d90 100644
--- a/internal.h
+++ b/internal.h
@@ -476,7 +476,6 @@ void rb_gc_resurrect(VALUE ptr);
/* hash.c */
struct st_table *rb_hash_tbl_raw(VALUE hash);
#define RHASH_TBL_RAW(h) rb_hash_tbl_raw(h)
-VALUE rb_hash_keys(VALUE hash);
VALUE rb_hash_values(VALUE hash);
#define HASH_DELETED FL_USER1
#define HASH_PROC_DEFAULT FL_USER2