aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authorS-H-GAMELINKS <gamelinks007@gmail.com>2020-05-20 20:27:47 +0900
committerKoichi Sasada <ko1@atdot.net>2020-05-20 23:22:46 +0900
commitff58cbce94aaa001a262e6a4abc57f85113331be (patch)
treec9d4b94b0a49cbd4ff0c7e48540821f378a6ce6b /hash.c
parent2480ef904c66812cf366e5d9bc8a9c3c20bbf271 (diff)
downloadruby-ff58cbce94aaa001a262e6a4abc57f85113331be.tar.gz
add static modifer for rb_hash_fetch_values 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 5e42b7013c..79fe433d20 100644
--- a/hash.c
+++ b/hash.c
@@ -2763,7 +2763,7 @@ rb_hash_values_at(int argc, VALUE *argv, VALUE hash)
* h.fetch_values("cow", "bird") { |k| k.upcase } #=> ["bovine", "BIRD"]
*/
-VALUE
+static VALUE
rb_hash_fetch_values(int argc, VALUE *argv, VALUE hash)
{
VALUE result = rb_ary_new2(argc);