summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-08 09:09:12 (GMT)
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-08 09:09:12 (GMT)
commit841d5ae80e7d77f18b42f06423589ef7aa0be3e7 (patch)
tree06a95a75395ce3034e08b2c43f10b8e4a9ff24c9 /array.c
parent76daf51c36038fde7405c379b3b77924dc3dfe3e (diff)
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 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index dbcc09d..fe86374 100644
--- a/array.c
+++ b/array.c
@@ -5828,7 +5828,7 @@ rb_ary_any_p(int argc, VALUE *argv, VALUE ary)
* [42, {foo: :bar}].dig(1, :foo) #=> :bar
*/
-VALUE
+static VALUE
rb_ary_dig(int argc, VALUE *argv, VALUE self)
{
rb_check_arity(argc, 1, UNLIMITED_ARGUMENTS);