summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-06-09 15:55:39 -0600
committerKarl Williamson <khw@cpan.org>2016-06-21 18:10:38 -0600
commitb6c0faaf0a2924c76850099116895e5c29a739e1 (patch)
treea860012311bb4c46f0d26f180f8b05c67547c7b5 /proto.h
parent4e058f448f14936d2650df689211ba416bb627ba (diff)
downloadperl-b6c0faaf0a2924c76850099116895e5c29a739e1.tar.gz
regexec.c: Add a const to a function parameter
This value isn't changed by the function
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 4ad4b93495..8b81e50953 100644
--- a/proto.h
+++ b/proto.h
@@ -5286,7 +5286,7 @@ STATIC U8* S_reghop4(U8 *s, SSize_t off, const U8 *llim, const U8 *rlim)
#define PERL_ARGS_ASSERT_REGHOP4 \
assert(s); assert(llim); assert(rlim)
-STATIC U8* S_reghopmaybe3(U8 *s, SSize_t off, const U8 *lim)
+STATIC U8* S_reghopmaybe3(U8 *s, SSize_t off, const U8 * const lim)
__attribute__warn_unused_result__;
#define PERL_ARGS_ASSERT_REGHOPMAYBE3 \
assert(s); assert(lim)