ruby-changes:41938
From: nobu <ko1@a...>
Date: Mon, 7 Mar 2016 10:05:43 +0900 (JST)
Subject: [ruby-changes:41938] nobu:r54012 (trunk): io.c: remove extra declarations
nobu 2016-03-07 10:05:36 +0900 (Mon, 07 Mar 2016) New Revision: 54012 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54012 Log: io.c: remove extra declarations * io.c (rb_io_set_encoding): remove extra declarations, rb_std{in,out,err} are defined in this file. Modified files: trunk/io.c Index: io.c =================================================================== --- io.c (revision 54011) +++ io.c (revision 54012) @@ -10872,7 +10872,6 @@ rb_io_set_encoding(int argc, VALUE *argv https://github.com/ruby/ruby/blob/trunk/io.c#L10872 void rb_stdio_set_default_encoding(void) { - extern VALUE rb_stdin, rb_stdout, rb_stderr; VALUE val = Qnil; rb_io_set_encoding(1, &val, rb_stdin); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/