Change 33662 by [EMAIL PROTECTED] on 2008/04/08 18:41:49
Make PL_AMG_namelens static (half of change 33645)
Affected files ...
... //depot/maint-5.8/perl/overload.c#3 edit
... //depot/maint-5.8/perl/overload.pl#5 edit
Differences ...
==== //depot/maint-5.8/perl/overload.c#3 (text+w) ====
Index: perl/overload.c
--- perl/overload.c#2~32402~ 2007-11-19 03:01:20.000000000 -0800
+++ perl/overload.c 2008-04-08 11:41:49.000000000 -0700
@@ -14,7 +14,7 @@
#define AMG_id2namelen(id) (PL_AMG_namelens[id]-1)
-const U8 PL_AMG_namelens[NofAMmeth] = {
+static const U8 PL_AMG_namelens[NofAMmeth] = {
2,
4,
5,
==== //depot/maint-5.8/perl/overload.pl#5 (text) ====
Index: perl/overload.pl
--- perl/overload.pl#4~32402~ 2007-11-19 03:01:20.000000000 -0800
+++ perl/overload.pl 2008-04-08 11:41:49.000000000 -0700
@@ -81,7 +81,7 @@
#define AMG_id2namelen(id) (PL_AMG_namelens[id]-1)
-const U8 PL_AMG_namelens[NofAMmeth] = {
+static const U8 PL_AMG_namelens[NofAMmeth] = {
EOF
my $last = pop @names;
End of Patch.