mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
io.c: remove extra declarations
* io.c (rb_io_set_encoding): remove extra declarations, rb_std{in,out,err} are defined in this file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ebf0005bc4
commit
bf5d6f0723
1 changed files with 0 additions and 1 deletions
1
io.c
1
io.c
|
@ -10872,7 +10872,6 @@ rb_io_set_encoding(int argc, VALUE *argv, VALUE io)
|
|||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue