aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-08 09:09:12 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-08 09:09:12 +0000
commit482a217b99cb5fd3b99b701bf4d88ea6a4f9b6bf (patch)
tree06a95a75395ce3034e08b2c43f10b8e4a9ff24c9 /hash.c
parent7125da1b5438df65551213c331595209860179e8 (diff)
downloadruby-482a217b99cb5fd3b99b701bf4d88ea6a4f9b6bf.tar.gz
rb_ary_dig, rb_hash_dig: nobody is using them outside.
mark them static. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 c8125a0d6c..af094cca90 100644
--- a/hash.c
+++ b/hash.c
@@ -3065,7 +3065,7 @@ rb_hash_any_p(int argc, VALUE *argv, VALUE hash)
* g.dig(:foo, :bar) #=> TypeError: no implicit conversion of Symbol into Integer
*/
-VALUE
+static VALUE
rb_hash_dig(int argc, VALUE *argv, VALUE self)
{
rb_check_arity(argc, 1, UNLIMITED_ARGUMENTS);