summaryrefslogtreecommitdiff
path: root/ext/Encode/Encode.xs
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-22 12:08:34 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-22 12:08:34 +0000
commit0629a5b339b45d14dcfb89e3642fe75983f27c16 (patch)
tree612155160014e21dd9768b42453185de5431461f /ext/Encode/Encode.xs
parentc0bd1adcfa702f7d9a93bc9b7c4b3e9adf29fe4a (diff)
downloadperl-0629a5b339b45d14dcfb89e3642fe75983f27c16.tar.gz
Mark more static Encode data structures as const.
p4raw-id: //depot/perl@25821
Diffstat (limited to 'ext/Encode/Encode.xs')
-rw-r--r--ext/Encode/Encode.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Encode/Encode.xs b/ext/Encode/Encode.xs
index 8e225cd68c..274fae0a62 100644
--- a/ext/Encode/Encode.xs
+++ b/ext/Encode/Encode.xs
@@ -89,7 +89,7 @@ do_fallback_cb(pTHX_ UV ch)
}
static SV *
-encode_method(pTHX_ encode_t * enc, encpage_t * dir, SV * src,
+encode_method(pTHX_ const encode_t * enc, const encpage_t * dir, SV * src,
int check, STRLEN * offset, SV * term, int * retcode)
{
STRLEN slen;