summaryrefslogtreecommitdiff
path: root/inline.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-09-10 11:51:40 -0600
committerKarl Williamson <khw@cpan.org>2019-09-15 10:39:56 -0600
commit73f0a2ebf04911b86968dd3aef90572662bc36ca (patch)
treee221a3da761cb1ee8a1fdaa247bcf60c1e0bcbb5 /inline.h
parent9a9a6c9859e31a91d4dd61190df208c24f5cbdc4 (diff)
downloadperl-73f0a2ebf04911b86968dd3aef90572662bc36ca.tar.gz
Strip leading underscore _variant_byte_number()
Names with leading underscores 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 a55f19f8b2..7df5ecb235 100644
--- a/inline.h
+++ b/inline.h
@@ -466,7 +466,7 @@ Perl_is_utf8_invariant_string_loc(const U8* const s, STRLEN len, const U8 ** ep)
# if BYTEORDER == 0x1234 || BYTEORDER == 0x12345678 \
|| BYTEORDER == 0x4321 || BYTEORDER == 0x87654321
- *ep = x + _variant_byte_number(* (PERL_UINTMAX_T *) x);
+ *ep = x + variant_byte_number(* (PERL_UINTMAX_T *) x);
assert(*ep >= s && *ep < send);
return FALSE;
@@ -504,7 +504,7 @@ Perl_is_utf8_invariant_string_loc(const U8* const s, STRLEN len, const U8 ** ep)
#ifndef EBCDIC
PERL_STATIC_INLINE unsigned int
-Perl__variant_byte_number(PERL_UINTMAX_T word)
+Perl_variant_byte_number(PERL_UINTMAX_T word)
{
/* This returns the position in a word (0..7) of the first variant byte in