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

ruby-changes:22468

From: nobu <ko1@a...>
Date: Fri, 10 Feb 2012 00:16:55 +0900 (JST)
Subject: [ruby-changes:22468] nobu:r34517 (ruby_1_9_3, trunk): * ext/fiddle/fiddle.c (Init_fiddle): declare in modern style.

nobu	2012-02-10 00:15:57 +0900 (Fri, 10 Feb 2012)

  New Revision: 34517

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

  Log:
    * ext/fiddle/fiddle.c (Init_fiddle): declare in modern style.

  Modified files:
    branches/ruby_1_9_3/ext/fiddle/fiddle.c
    trunk/ext/fiddle/fiddle.c

Index: ext/fiddle/fiddle.c
===================================================================
--- ext/fiddle/fiddle.c	(revision 34516)
+++ ext/fiddle/fiddle.c	(revision 34517)
@@ -2,7 +2,8 @@
 
 VALUE mFiddle;
 
-void Init_fiddle()
+void
+Init_fiddle(void)
 {
     /*
      * Document-module: Fiddle
Index: ruby_1_9_3/ext/fiddle/fiddle.c
===================================================================
--- ruby_1_9_3/ext/fiddle/fiddle.c	(revision 34516)
+++ ruby_1_9_3/ext/fiddle/fiddle.c	(revision 34517)
@@ -2,7 +2,8 @@
 
 VALUE mFiddle;
 
-void Init_fiddle()
+void
+Init_fiddle(void)
 {
     /*
      * Document-module: Fiddle

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

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