summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-21 04:31:15 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-21 04:31:15 +0000
commit02ab62312b0f0e5104db4279d1baeef1ac5fe602 (patch)
tree9b6d413cad2701781ae7fb6cfdecaab7437cc92d /io.c
parent98cc7016a68f35584408141ca2180075273ecb23 (diff)
downloadruby-02ab62312b0f0e5104db4279d1baeef1ac5fe602.tar.gz
ruby-02ab62312b0f0e5104db4279d1baeef1ac5fe602.tar.xz
ruby-02ab62312b0f0e5104db4279d1baeef1ac5fe602.zip
* io.c, include/ruby/intern.h (rb_io_ascii8bit_binmode): externed.
* ext/socket/socket.c (init_sock): use rb_io_ascii8bit_binmode() instead of rb_io_binmode(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19868 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 29be9e13e..527f9db00 100644
--- a/io.c
+++ b/io.c
@@ -3514,7 +3514,7 @@ rb_io_binmode(VALUE io)
return io;
}
-static VALUE
+VALUE
rb_io_ascii8bit_binmode(VALUE io)
{
rb_io_t *fptr;