summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-05-10 17:51:58 -0600
committerKarl Williamson <khw@cpan.org>2016-05-12 20:16:39 -0600
commit2d825fd950f5c0e0ba60399d56c61b94d3a7fdd1 (patch)
tree1853d5b33280c257167faae3823832fcbeb4b32d /mathoms.c
parent556343f1c9b06592ba8ef8f78070d40aab8d9276 (diff)
downloadperl-2d825fd950f5c0e0ba60399d56c61b94d3a7fdd1.tar.gz
mathoms.c: Fix prototype
This would probably have refused to compile if anyone were actually using this function in a threaded build.
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mathoms.c b/mathoms.c
index d530cc03e0..447009dccf 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -86,7 +86,7 @@ PERL_CALLCONV void Perl_hv_magic(pTHX_ HV *hv, GV *gv, int how);
PERL_CALLCONV bool Perl_do_open(pTHX_ GV *gv, const char *name, I32 len, int as_raw, int rawmode, int rawperm, PerlIO *supplied_fp);
PERL_CALLCONV bool Perl_do_aexec(pTHX_ SV *really, SV **mark, SV **sp);
PERL_CALLCONV U8 * Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv);
-PERL_CALLCONV bool Perl_is_utf8_string_loc(pTHX_ const U8 *s, STRLEN len, const U8 **ep);
+PERL_CALLCONV bool Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep);
PERL_CALLCONV void Perl_sv_nolocking(pTHX_ SV *sv);
PERL_CALLCONV void Perl_sv_usepvn_mg(pTHX_ SV *sv, char *ptr, STRLEN len);
PERL_CALLCONV void Perl_sv_usepvn(pTHX_ SV *sv, char *ptr, STRLEN len);
@@ -730,10 +730,9 @@ Perl_init_i18nl14n(pTHX_ int printwarn)
}
bool
-Perl_is_utf8_string_loc(pTHX_ const U8 *s, STRLEN len, const U8 **ep)
+Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep)
{
PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC;
- PERL_UNUSED_CONTEXT;
return is_utf8_string_loclen(s, len, ep, 0);
}