summaryrefslogtreecommitdiff
path: root/strings/ctype-mb.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/ctype-mb.c')
-rw-r--r--strings/ctype-mb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/strings/ctype-mb.c b/strings/ctype-mb.c
index b35162c8fb6..2f7cf698664 100644
--- a/strings/ctype-mb.c
+++ b/strings/ctype-mb.c
@@ -274,12 +274,12 @@ uint my_charpos_mb(CHARSET_INFO *cs __attribute__((unused)),
return pos ? e+2-b0 : b-b0;
}
-uint my_wellformedlen_mb(CHARSET_INFO *cs,
- const char *b, const char *e, uint pos)
+uint my_well_formed_len_mb(CHARSET_INFO *cs,
+ const char *b, const char *e, uint pos)
{
my_wc_t wc;
int mblen;
- const char *b0= b;
+ const char *b_start= b;
while (pos)
{
@@ -288,7 +288,7 @@ uint my_wellformedlen_mb(CHARSET_INFO *cs,
b+= mblen;
pos--;
}
- return b - b0;
+ return b - b_start;
}