* 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:
parent
c6abdf3e0c
commit
cb9038cbaf
2
io.c
2
io.c
@ -8408,7 +8408,7 @@ rb_io_set_encoding(int argc, VALUE *argv, VALUE io)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
rb_stdio_set_default_encoding()
|
rb_stdio_set_default_encoding(void)
|
||||||
{
|
{
|
||||||
extern VALUE rb_stdin, rb_stdout, rb_stderr;
|
extern VALUE rb_stdin, rb_stdout, rb_stderr;
|
||||||
VALUE val = Qnil;
|
VALUE val = Qnil;
|
||||||
|
2
ruby.c
2
ruby.c
@ -1211,7 +1211,7 @@ rb_f_chomp(argc, argv)
|
|||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
void rb_stdio_set_default_encoding();
|
void rb_stdio_set_default_encoding(void);
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
process_options(int argc, char **argv, struct cmdline_options *opt)
|
process_options(int argc, char **argv, struct cmdline_options *opt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user