summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/re.c b/re.c
index 04ba3e0093..d79f32cceb 100644
--- a/re.c
+++ b/re.c
@@ -376,14 +376,6 @@ kcode_reset_option(void)
}
}
-int
-rb_reg_mbclen2(unsigned int c, VALUE re)
-{
- char uc = (unsigned char)c;
-
- return rb_enc_mbclen(&uc, rb_enc_get(re));
-}
-
static void
rb_reg_check(VALUE re)
{