summaryrefslogtreecommitdiff
path: root/regnodes.h
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 /regnodes.h
parentdab8accc950a57180c2a6414eeb663fee64b5567 (diff)
downloadperl-6d9c9890b6305b20fe39f3b418a5330f9fb32465.tar.gz
Fixes to compile Perl with g++ and DEBUGGING.
p4raw-id: //depot/perl@28934
Diffstat (limited to 'regnodes.h')
-rw-r--r--regnodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/regnodes.h b/regnodes.h
index 31286f9c84..01a53f99d4 100644
--- a/regnodes.h
+++ b/regnodes.h
@@ -347,7 +347,7 @@ static const char reg_off_by_arg[] = {
};
#ifdef DEBUGGING
-const char * const reg_name[] = {
+const char * reg_name[] = {
"END", /* 0000 */
"SUCCEED", /* 0x01 */
"BOL", /* 0x02 */
@@ -445,7 +445,7 @@ const char * const reg_name[] = {
#endif /* DEBUGGING */
#else
#ifdef DEBUGGING
-extern const char * const reg_name[];
+extern const char * reg_name[];
#endif
#endif /* REG_COMP_C */