summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorS-H-GAMELINKS <gamelinks007@gmail.com>2020-05-22 03:15:42 +0900
committerKoichi Sasada <ko1@atdot.net>2020-05-22 11:51:32 +0900
commitd707c92a3592564178a56b3ee998cf658dfb2859 (patch)
treeed9387b4e565767fcd1af14f2e3ce8e6dba0ee3c /hash.c
parente5354de9f48f33be0abf247dce964c6331acbf72 (diff)
add static modifier for rb_hash_keep_if func
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3130
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index f4fc3dc04f..ed1c3cb333 100644
--- a/hash.c
+++ b/hash.c
@@ -2881,7 +2881,7 @@ rb_hash_select_bang(VALUE hash)
* See also Hash#select!.
*/
-VALUE
+static VALUE
rb_hash_keep_if(VALUE hash)
{
RETURN_SIZED_ENUMERATOR(hash, 0, 0, hash_enum_size);