diff options
-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 |