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

ruby-changes:12693

From: nobu <ko1@a...>
Date: Wed, 5 Aug 2009 19:18:33 +0900 (JST)
Subject: [ruby-changes:12693] Ruby:r24409 (trunk): * io.c (rb_stdio_set_default_encoding): prototyped.

nobu	2009-08-05 19:18:21 +0900 (Wed, 05 Aug 2009)

  New Revision: 24409

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

  Log:
    * io.c (rb_stdio_set_default_encoding): prototyped.

  Modified files:
    trunk/io.c
    trunk/ruby.c

Index: io.c
===================================================================
--- io.c	(revision 24408)
+++ io.c	(revision 24409)
@@ -8408,7 +8408,7 @@
 }
 
 void
-rb_stdio_set_default_encoding()
+rb_stdio_set_default_encoding(void)
 {
     extern VALUE rb_stdin, rb_stdout, rb_stderr;
     VALUE val = Qnil;
Index: ruby.c
===================================================================
--- ruby.c	(revision 24408)
+++ ruby.c	(revision 24409)
@@ -1211,7 +1211,7 @@
     return str;
 }
 
-void rb_stdio_set_default_encoding();
+void rb_stdio_set_default_encoding(void);
 
 static VALUE
 process_options(int argc, char **argv, struct cmdline_options *opt)

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

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