summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-09-14 17:09:51 -0600
committerKarl Williamson <khw@cpan.org>2016-09-17 21:10:50 -0600
commitc41b2540e92ea1e5c8c0019b8a4c085c5fd741e8 (patch)
tree60fe00a6d8bab233d415804d99c0bd5438797085 /mathoms.c
parent3d56ecbe82b99d21cf2f5e67297d4236e38b282d (diff)
downloadperl-c41b2540e92ea1e5c8c0019b8a4c085c5fd741e8.tar.gz
inline.h: Add 'const's; avoid hiding outer variable
This changes some formal parameters to be const, and avoids reusing the same variable name within an inner block, to avoid confusion
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathoms.c b/mathoms.c
index 1480186f69..a3f20e79f4 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -690,7 +690,7 @@ Perl_init_i18nl14n(pTHX_ int printwarn)
}
bool
-Perl_is_utf8_string_loc(const U8 *s, STRLEN len, const U8 **ep)
+Perl_is_utf8_string_loc(const U8 *s, const STRLEN len, const U8 **ep)
{
PERL_ARGS_ASSERT_IS_UTF8_STRING_LOC;