summaryrefslogtreecommitdiff
path: root/enc/us_ascii.c
diff options
context:
space:
mode:
Diffstat (limited to 'enc/us_ascii.c')
-rw-r--r--enc/us_ascii.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/us_ascii.c b/enc/us_ascii.c
index 9201679871..df50e2d0d4 100644
--- a/enc/us_ascii.c
+++ b/enc/us_ascii.c
@@ -1,7 +1,7 @@
#include "regenc.h"
extern int
-mbc_enc_len(const UChar* p, const UChar* e, OnigEncoding enc)
+us_ascii_mbc_enc_len(const UChar* p, const UChar* e, OnigEncoding enc)
{
if (*p & 0x80)
return ONIGENC_CONSTRUCT_MBCLEN_INVALID();
@@ -9,7 +9,7 @@ mbc_enc_len(const UChar* p, const UChar* e, OnigEncoding enc)
}
OnigEncodingDefine(us_ascii, US_ASCII) = {
- mbc_enc_len,
+ us_ascii_mbc_enc_len,
"US-ASCII",/* name */
1, /* max byte length */
1, /* min byte length */