diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-01 15:19:23 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-01 15:19:23 +0000 |
commit | 2c11bda8b936be5d857e64e238727fd3cea69918 (patch) | |
tree | ba168972e3db9b8ade200cc07d7e0d0d49df5eab | |
parent | 45379828f740ff2b60bb16f5fec3a17bd952e07d (diff) | |
download | ruby-2c11bda8b936be5d857e64e238727fd3cea69918.tar.gz |
* 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-- | ChangeLog | 9 | ||||
-rw-r--r-- | hash.c | 2 | ||||
-rw-r--r-- | internal.h | 1 |
3 files changed, 10 insertions, 2 deletions
@@ -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 @@ -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 |