summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2017-03-17 13:40:03 +0000
committerDavid Mitchell <davem@iabyn.com>2017-03-17 14:10:14 +0000
commit8c0364339f063fa32be742877e8206c8b6203de0 (patch)
treefc15b677d6406ed0511ff78fd9ab22b28b848510 /scope.c
parent7bfe3bfdd4427cdc26a2581cc633e3fb5582ce70 (diff)
downloadperl-8c0364339f063fa32be742877e8206c8b6203de0.tar.gz
PERL_GLOBAL_STRUCT_PRIVATE: fix scope.c:arg_counts
t/porting/libperl.t under -DPERL_GLOBAL_STRUCT_PRIVATE doesn't like non-const static data structures
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index c51a125dfa..a7c17e8d9e 100644
--- a/scope.c
+++ b/scope.c
@@ -788,7 +788,7 @@ Perl_save_alloc(pTHX_ I32 size, I32 pad)
}
-static U8 arg_counts[] = {
+static const U8 arg_counts[] = {
0, /* SAVEt_ALLOC */
0, /* SAVEt_CLEARPADRANGE */
0, /* SAVEt_CLEARSV */