aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authorS-H-GAMELINKS <gamelinks007@gmail.com>2020-05-22 03:15:22 +0900
committerKoichi Sasada <ko1@atdot.net>2020-05-22 11:51:32 +0900
commite5354de9f48f33be0abf247dce964c6331acbf72 (patch)
tree5168cb32ecd4ee5ea878951974fa5c3f98e95c34 /hash.c
parent7c4e0859388970653ea5521095fca9e485d840c7 (diff)
downloadruby-e5354de9f48f33be0abf247dce964c6331acbf72.tar.gz
add static modifier for rb_hash_select_bang func
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 61b9c9a3cd..f4fc3dc04f 100644
--- a/hash.c
+++ b/hash.c
@@ -2854,7 +2854,7 @@ keep_if_i(VALUE key, VALUE value, VALUE hash)
* Hash#filter! is an alias for Hash#select!.
*/
-VALUE
+static VALUE
rb_hash_select_bang(VALUE hash)
{
st_index_t n;