1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* io.c (rb_stdio_set_default_encoding): prototyped.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-08-05 10:18:21 +00:00
parent c6abdf3e0c
commit cb9038cbaf
2 changed files with 2 additions and 2 deletions

2
io.c
View file

@ -8408,7 +8408,7 @@ rb_io_set_encoding(int argc, VALUE *argv, VALUE io)
}
void
rb_stdio_set_default_encoding()
rb_stdio_set_default_encoding(void)
{
extern VALUE rb_stdin, rb_stdout, rb_stderr;
VALUE val = Qnil;

2
ruby.c
View file

@ -1211,7 +1211,7 @@ rb_f_chomp(argc, argv)
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)