mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* eval.c, hash.c, load.c, proc.c, range.c, thread.c, time.c: don't
declare internal functions. * internal.h, vm_core.h: declare internal functions. * array.c: include internal.h. * common.mk: update dependency for array.o. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bc46292caa
commit
5ed8c08aa0
12 changed files with 23 additions and 11 deletions
2
range.c
2
range.c
|
@ -600,8 +600,6 @@ range_first(int argc, VALUE *argv, VALUE range)
|
|||
static VALUE
|
||||
range_last(int argc, VALUE *argv, VALUE range)
|
||||
{
|
||||
VALUE rb_ary_last(int, VALUE *, VALUE);
|
||||
|
||||
if (argc == 0) return RANGE_END(range);
|
||||
return rb_ary_last(argc, argv, rb_Array(range));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue