summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-02-13 16:41:44 -0700
committerKarl Williamson <public@khwilliamson.com>2013-07-03 19:21:18 -0600
commit241136e0ed70738cccd6c4b20ce12b26231f30e5 (patch)
treeeec035eb046ebd5bd4fc0b2a9af1a7146a750ffc /proto.h
parentd913fb457b732da4c31d0d1b8c085989a7ecd12d (diff)
downloadperl-241136e0ed70738cccd6c4b20ce12b26231f30e5.tar.gz
regcomp.c: Make C-array inversion lists const
The inversion lists that are compiled into a C header are now const.
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 744a2b71cc..e782e87da2 100644
--- a/proto.h
+++ b/proto.h
@@ -6416,7 +6416,7 @@ PERL_STATIC_INLINE UV* S__invlist_array_init(pTHX_ SV* const invlist, const bool
#define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT \
assert(invlist)
-STATIC SV* S__new_invlist_C_array(pTHX_ UV* list)
+STATIC SV* S__new_invlist_C_array(pTHX_ const UV* const list)
__attribute__warn_unused_result__
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY \