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

ruby-changes:11430

From: knu <ko1@a...>
Date: Mon, 23 Mar 2009 21:17:15 +0900 (JST)
Subject: [ruby-changes:11430] Ruby:r23055 (ruby_1_8): * process.c: Stick with the K&R style in 1.8.

knu	2009-03-23 21:17:08 +0900 (Mon, 23 Mar 2009)

  New Revision: 23055

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

  Log:
    * process.c: Stick with the K&R style in 1.8.

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/process.c

Index: ruby_1_8/process.c
===================================================================
--- ruby_1_8/process.c	(revision 23054)
+++ ruby_1_8/process.c	(revision 23055)
@@ -909,7 +909,8 @@
  */
 
 static VALUE
-proc_detach(VALUE obj, VALUE pid)
+proc_detach(obj, pid)
+    VALUE obj, pid;
 {
     rb_secure(2);
     return rb_detach_process(NUM2INT(pid));
@@ -1905,7 +1906,8 @@
  */
 
 static VALUE
-proc_getrlimit(VALUE obj, VALUE resource)
+proc_getrlimit(obj, resource)
+    VALUE obj, resource;
 {
 #if defined(HAVE_GETRLIMIT) && defined(RLIM2NUM)
     struct rlimit rlim;
@@ -1959,7 +1961,10 @@
  */
 
 static VALUE
-proc_setrlimit(int argc, VALUE *argv, VALUE obj)
+proc_setrlimit(argc, argv, obj)
+    int argc;
+    VALUE *argv;
+    VALUE obj;
 {
 #if defined(HAVE_SETRLIMIT) && defined(NUM2RLIM)
     VALUE resource, rlim_cur, rlim_max;
@@ -2594,7 +2599,8 @@
  */
 
 static VALUE
-proc_getgroups(VALUE obj)
+proc_getgroups(obj)
+    VALUE obj;
 {
 #ifdef HAVE_GETGROUPS
     VALUE ary;
@@ -2634,7 +2640,8 @@
  */
 
 static VALUE
-proc_setgroups(VALUE obj, VALUE ary)
+proc_setgroups(obj, ary)
+    VALUE obj, ary;
 {
 #ifdef HAVE_SETGROUPS
     size_t ngroups;
@@ -2744,7 +2751,8 @@
  */
 
 static VALUE
-proc_setmaxgroups(VALUE obj, VALUE val)
+proc_setmaxgroups(obj, val)
+    VALUE obj, val;
 {
     size_t  ngroups = FIX2INT(val);
 
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 23054)
+++ ruby_1_8/ChangeLog	(revision 23055)
@@ -1,3 +1,7 @@
+Mon Mar 23 21:16:21 2009  Akinori MUSHA  <knu@i...>
+
+	* process.c: Stick with the K&R style in 1.8.
+
 Mon Mar 23 21:07:09 2009  Akinori MUSHA  <knu@i...>
 
 	* io.c (IO#ungetbyte): New method backported from 1.9.

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

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