summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-24 17:10:03 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-24 17:10:03 +0000
commit67f7cf01b9a126710761dd1f7e3c7a96e74ce621 (patch)
tree8c01f37729a8778bc3ce3f7bac93750c83cf32fb /io.c
parent38d03aaaf6970ed18c2db9b3cb20a8f38d1a3ed8 (diff)
downloadruby-67f7cf01b9a126710761dd1f7e3c7a96e74ce621.tar.gz
ruby-67f7cf01b9a126710761dd1f7e3c7a96e74ce621.tar.xz
ruby-67f7cf01b9a126710761dd1f7e3c7a96e74ce621.zip
* io.c (rb_io_mode_enc): make it static.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19535 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 f5e0b0d76..4db538b12 100644
--- a/io.c
+++ b/io.c
@@ -3802,7 +3802,7 @@ mode_enc(rb_io_t *fptr, const char *estr)
parse_mode_enc(estr, &fptr->encs.enc, &fptr->encs.enc2);
}
-void
+static void
rb_io_mode_enc(rb_io_t *fptr, const char *modestr)
{
const char *p = strchr(modestr, ':');