summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--io.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f8911e3d175..e3ec2b2294b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Sep 25 02:08:47 2008 Tanaka Akira <akr@fsij.org>
+
+ * io.c (rb_io_mode_enc): make it static.
+
Thu Sep 25 01:22:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mini/test.rb (Mini::Assertions#assert_raise): fixed typo.
diff --git a/io.c b/io.c
index f5e0b0d7694..4db538b1214 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, ':');