* 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
This commit is contained in:
glass 2014-01-01 15:19:23 +00:00
Родитель 45379828f7
Коммит 2c11bda8b9
3 изменённых файлов: 10 добавлений и 2 удалений

Просмотреть файл

@ -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

2
hash.c
Просмотреть файл

@ -1743,7 +1743,7 @@ keys_i(VALUE key, VALUE value, VALUE ary)
*
*/
VALUE
static VALUE
rb_hash_keys(VALUE hash)
{
VALUE keys;

Просмотреть файл

@ -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