summaryrefslogtreecommitdiff
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
commit48fdf59dcfbb6964d992b6f31d0eb6f023776145 (patch)
tree8c01f37729a8778bc3ce3f7bac93750c83cf32fb
parent607b1f27870b1a2bf184ff09f8376cc4eb856873 (diff)
* io.c (rb_io_mode_enc): make it static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--io.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f8911e3d17..e3ec2b2294 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 f5e0b0d769..4db538b121 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, ':');