mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c (ary_reverse): use ansi style declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
17e97a9b10
commit
2fe6bd9a36
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Jun 18 19:12:37 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* array.c (ary_reverse): use ansi style declaration.
|
||||
|
||||
Tue Jun 19 18:43:50 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/backward/rubysig.h: fix visibility. [Bug #6607]
|
||||
|
|
3
array.c
3
array.c
|
@ -1896,8 +1896,7 @@ rb_ary_to_ary_m(VALUE ary)
|
|||
}
|
||||
|
||||
static void
|
||||
ary_reverse(p1, p2)
|
||||
VALUE *p1, *p2;
|
||||
ary_reverse(VALUE *p1, VALUE *p2)
|
||||
{
|
||||
while (p1 < p2) {
|
||||
VALUE tmp = *p1;
|
||||
|
|
Loading…
Add table
Reference in a new issue