summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-09-10 10:59:04 -0600
committerKarl Williamson <khw@cpan.org>2019-09-15 10:39:56 -0600
commit1376b35c0aca7ec6b61283ddea3aa1c58bcb88de (patch)
treede98573569fff0a6aac64df6ae61c9c917137437 /utf8.c
parentc9182d9cfe39bfb5131aaf232745d5856cbf79eb (diff)
downloadperl-1376b35c0aca7ec6b61283ddea3aa1c58bcb88de.tar.gz
Strip leading underscore from is_utf8_char_helper()
Leading underscored name are reserved for the C implementers
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8.c b/utf8.c
index b06f6d33b4..9f5f59e00e 100644
--- a/utf8.c
+++ b/utf8.c
@@ -921,7 +921,7 @@ S_does_utf8_overflow(const U8 * const s,
#undef FF_OVERLONG_PREFIX
STRLEN
-Perl__is_utf8_char_helper(const U8 * const s, const U8 * e, const U32 flags)
+Perl_is_utf8_char_helper(const U8 * const s, const U8 * e, const U32 flags)
{
STRLEN len;
const U8 *x;
@@ -958,7 +958,7 @@ Perl__is_utf8_char_helper(const U8 * const s, const U8 * e, const U32 flags)
*
*/
- PERL_ARGS_ASSERT__IS_UTF8_CHAR_HELPER;
+ PERL_ARGS_ASSERT_IS_UTF8_CHAR_HELPER;
assert(0 == (flags & ~(UTF8_DISALLOW_ILLEGAL_INTERCHANGE
|UTF8_DISALLOW_PERL_EXTENDED)));