summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-08 15:34:48 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-08 15:34:48 +0000
commit8891aad06db2878fbbd2e838ac1a748fdf8ecc2a (patch)
treead6cc095b741f99ef14766bf87f3119115026ee1 /io.c
parentaf898174eb0316c0ab650ce9dc65db59b2f958d3 (diff)
merges r24408 and r24409 from trunk into ruby_1_9_1.
-- * ruby.c (rb_stdio_set_default_encoding): declared. -- * io.c (rb_stdio_set_default_encoding): prototyped. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index bf10a31d5..7f6ed3c70 100644
--- a/io.c
+++ b/io.c
@@ -7949,7 +7949,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;