aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
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 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, ':');