summaryrefslogtreecommitdiff
path: root/regcomp.pl
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-10-04 18:45:37 +0000
committerSteve Peters <steve@fisharerojo.org>2006-10-04 18:45:37 +0000
commit6d9c9890b6305b20fe39f3b418a5330f9fb32465 (patch)
tree39ac6e45ce6940d6fb640067e8d8fa1eb9ee1451 /regcomp.pl
parentdab8accc950a57180c2a6414eeb663fee64b5567 (diff)
downloadperl-6d9c9890b6305b20fe39f3b418a5330f9fb32465.tar.gz
Fixes to compile Perl with g++ and DEBUGGING.
p4raw-id: //depot/perl@28934
Diffstat (limited to 'regcomp.pl')
-rw-r--r--regcomp.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/regcomp.pl b/regcomp.pl
index 2884971115..ed270e8967 100644
--- a/regcomp.pl
+++ b/regcomp.pl
@@ -152,7 +152,7 @@ print OUT <<EOP;
};
#ifdef DEBUGGING
-const char * const reg_name[] = {
+const char * reg_name[] = {
EOP
$ind = 0;
@@ -170,7 +170,7 @@ print OUT <<EOP;
#endif /* DEBUGGING */
#else
#ifdef DEBUGGING
-extern const char * const reg_name[];
+extern const char * reg_name[];
#endif
#endif /* REG_COMP_C */