add static modifier to rb_ary_aref2 func

This commit is contained in:
S-H-GAMELINKS 2020-05-19 13:09:26 +09:00 committed by Nobuyoshi Nakada
parent 79292b3088
commit 1f063abb4c
Notes: git 2020-05-19 15:23:18 +09:00

View File

@ -1685,7 +1685,7 @@ rb_ary_aref(int argc, const VALUE *argv, VALUE ary)
return rb_ary_aref1(ary, argv[0]);
}
VALUE
static VALUE
rb_ary_aref2(VALUE ary, VALUE b, VALUE e)
{
long beg = NUM2LONG(b);