summaryrefslogtreecommitdiff
path: root/inline.h
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 /inline.h
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 'inline.h')
-rw-r--r--inline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inline.h b/inline.h
index dfbb985dc9..5f4fc01bdf 100644
--- a/inline.h
+++ b/inline.h
@@ -1078,7 +1078,7 @@ Perl_isUTF8_CHAR(const U8 * const s0, const U8 * const e)
#if defined(UV_IS_QUAD) || defined(EBCDIC)
if (NATIVE_UTF8_TO_I8(*s0) == 0xFF && e - s0 >= UTF8_MAXBYTES) {
- return _is_utf8_char_helper(s0, e, 0);
+ return is_utf8_char_helper(s0, e, 0);
}
#endif
@@ -1702,7 +1702,7 @@ Perl_is_utf8_valid_partial_char_flags(const U8 * const s, const U8 * const e, co
return FALSE;
}
- return cBOOL(_is_utf8_char_helper(s, e, flags));
+ return cBOOL(is_utf8_char_helper(s, e, flags));
}
/*