* 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
This commit is contained in:
parent
607b1f2787
commit
48fdf59dcf
@ -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>
|
Thu Sep 25 01:22:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* lib/mini/test.rb (Mini::Assertions#assert_raise): fixed typo.
|
* lib/mini/test.rb (Mini::Assertions#assert_raise): fixed typo.
|
||||||
|
2
io.c
2
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);
|
parse_mode_enc(estr, &fptr->encs.enc, &fptr->encs.enc2);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
rb_io_mode_enc(rb_io_t *fptr, const char *modestr)
|
rb_io_mode_enc(rb_io_t *fptr, const char *modestr)
|
||||||
{
|
{
|
||||||
const char *p = strchr(modestr, ':');
|
const char *p = strchr(modestr, ':');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user