summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-07 19:45:13 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-07 19:45:13 +0000
commit245d4a47e185d4e38ca6440eb62ae19d5e411fd1 (patch)
treee239aa1ac71d0acac712e2a7d3a0d8bf91b1d696 /proto.h
parent5f1478c393a03bf1defcb0d2dec70e6a17a8c864 (diff)
downloadperl-245d4a47e185d4e38ca6440eb62ae19d5e411fd1.tar.gz
More consting of SvPV
p4raw-id: //depot/perl@24742
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index 9f5ced823e..c981d7f4bf 100644
--- a/proto.h
+++ b/proto.h
@@ -2382,7 +2382,7 @@ STATIC I32 S_expect_number(pTHX_ char** pattern)
# if defined(USE_ITHREADS)
STATIC SV* S_gv_share(pTHX_ SV *sv, CLONE_PARAMS *param);
# endif
-STATIC bool S_utf8_mg_pos(pTHX_ SV *sv, MAGIC **mgp, STRLEN **cachep, I32 i, I32 *offsetp, I32 uoff, U8 **sp, U8 *start, U8 *send)
+STATIC bool S_utf8_mg_pos(pTHX_ SV *sv, MAGIC **mgp, STRLEN **cachep, I32 i, I32 *offsetp, I32 uoff, const U8 **sp, const U8 *start, const U8 *send)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2)
__attribute__nonnull__(pTHX_3)
@@ -2391,7 +2391,7 @@ STATIC bool S_utf8_mg_pos(pTHX_ SV *sv, MAGIC **mgp, STRLEN **cachep, I32 i, I32
__attribute__nonnull__(pTHX_8)
__attribute__nonnull__(pTHX_9);
-STATIC bool S_utf8_mg_pos_init(pTHX_ SV *sv, MAGIC **mgp, STRLEN **cachep, I32 i, I32 offsetp, U8 *s, U8 *start)
+STATIC bool S_utf8_mg_pos_init(pTHX_ SV *sv, MAGIC **mgp, STRLEN **cachep, I32 i, I32 offsetp, const U8 *s, const U8 *start)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2)
__attribute__nonnull__(pTHX_3)