summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-18 01:11:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-18 01:11:01 +0000
commit61566f4b7cb6668d6c52bd472d8c146abe2a522e (patch)
tree4ae7693e5b15ba0183969f847fd523ef4027ce0b /io.c
parent10e6c73f3c0396e641567a09bf5cc326f57244be (diff)
* 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/branches/ruby_1_8@7304 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 289242d..29077a6 100644
--- a/io.c
+++ b/io.c
@@ -2245,7 +2245,7 @@ rb_io_mode_flags(mode)
return flags;
}
-static int
+int
rb_io_modenum_flags(mode)
int mode;
{