From 48fdf59dcfbb6964d992b6f31d0eb6f023776145 Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 24 Sep 2008 17:10:03 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ io.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * io.c (rb_io_mode_enc): make it static. + Thu Sep 25 01:22:39 2008 Nobuyoshi Nakada * 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, ':');