From 27e4aa4a937c032073ee265aa0e71c430bf5774f Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 18 Nov 2004 01:11:01 +0000 Subject: * io.c, rubyio.h (rb_io_modenum_flags): exported. * ext/stringio/stringio.c (strio_initialize): allow Fixnum as mode as well as IO.new does. [ruby-dev:24896] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io.c') diff --git a/io.c b/io.c index 5abe8dd5c8..2b459ca1aa 100644 --- a/io.c +++ b/io.c @@ -2389,7 +2389,7 @@ rb_io_mode_flags(mode) return flags; } -static int +int rb_io_modenum_flags(mode) int mode; { -- cgit v1.2.3