summaryrefslogtreecommitdiffstats
path: root/ruby.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 /ruby.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 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ruby.c b/ruby.c
index 68d8f97a4..b50ee4507 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1188,6 +1188,8 @@ rb_f_chomp(argc, argv)
return str;
}
+void rb_stdio_set_default_encoding(void);
+
static VALUE
process_options(VALUE arg)
{