summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorS-H-GAMELINKS <gamelinks007@gmail.com>2020-05-22 03:14:40 +0900
committerKoichi Sasada <ko1@atdot.net>2020-05-22 11:51:32 +0900
commit7c4e0859388970653ea5521095fca9e485d840c7 (patch)
treeedbc77eb560d6cdfc1dff5692afac86c037bc431 /hash.c
parentcbd45af2a9bec871ee023e6be57c5f32b22280fe (diff)
add static modifier for rb_hash_select 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 a8077f9955..61b9c9a3cd 100644
--- a/hash.c
+++ b/hash.c
@@ -2819,7 +2819,7 @@ select_i(VALUE key, VALUE value, VALUE result)
* Hash#filter is an alias for Hash#select.
*/
-VALUE
+static VALUE
rb_hash_select(VALUE hash)
{
VALUE result;