summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-12-21 14:47:05 -0700
committerKarl Williamson <khw@cpan.org>2015-12-22 13:16:51 -0700
commit6f2a89df6e4e9fc861c86650325fb46a163e4cd0 (patch)
treed58fd5d27266d8bf1884d7c1ac49c8485cdb1134 /proto.h
parent9d021dec6a8a15e47261428914188c8ab191b3b5 (diff)
downloadperl-6f2a89df6e4e9fc861c86650325fb46a163e4cd0.tar.gz
regcomp.c: Make some params to a static fcn const
This is just acting on the TODO comment.
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 7d5ea26a8c..0128cc994d 100644
--- a/proto.h
+++ b/proto.h
@@ -4793,7 +4793,7 @@ STATIC regnode* S_regpiece(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 dept
PERL_STATIC_INLINE I32 S_regpposixcc(pTHX_ RExC_state_t *pRExC_state, I32 value, const bool strict);
#define PERL_ARGS_ASSERT_REGPPOSIXCC \
assert(pRExC_state)
-STATIC void S_regtail(pTHX_ RExC_state_t *pRExC_state, regnode *p, const regnode *val, U32 depth);
+STATIC void S_regtail(pTHX_ RExC_state_t * pRExC_state, const regnode * const p, const regnode * const val, const U32 depth);
#define PERL_ARGS_ASSERT_REGTAIL \
assert(pRExC_state); assert(p); assert(val)
STATIC void S_scan_commit(pTHX_ const RExC_state_t *pRExC_state, struct scan_data_t *data, SSize_t *minlenp, int is_inf);