[前][次][番号順一覧][スレッド一覧]

ruby-changes:24089

From: kosaki <ko1@a...>
Date: Wed, 20 Jun 2012 06:24:32 +0900 (JST)
Subject: [ruby-changes:24089] kosaki:r36140 (trunk): * array.c (ary_reverse): use ansi style declaration.

kosaki	2012-06-20 06:24:19 +0900 (Wed, 20 Jun 2012)

  New Revision: 36140

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36140

  Log:
    * array.c (ary_reverse): use ansi style declaration.

  Modified files:
    trunk/ChangeLog
    trunk/array.c

Index: array.c
===================================================================
--- array.c	(revision 36139)
+++ array.c	(revision 36140)
@@ -1896,8 +1896,7 @@
 }
 
 static void
-ary_reverse(p1, p2)
-    VALUE *p1, *p2;
+ary_reverse(VALUE *p1, VALUE *p2)
 {
     while (p1 < p2) {
 	VALUE tmp = *p1;
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36139)
+++ ChangeLog	(revision 36140)
@@ -1,3 +1,7 @@
+Mon Jun 18 19:12:37 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* array.c (ary_reverse): use ansi style declaration.
+
 Tue Jun 19 18:43:50 2012  Nobuyoshi Nakada  <nobu@r...>
 
 	* include/ruby/backward/rubysig.h: fix visibility.  [Bug #6607]

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]