summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel MuiƱo <dmuino@afip.gov.ar>2000-08-14 13:42:47 -0300
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-14 20:47:36 +0000
commit29de93916e366a4e2dd15cfdd2f0e6ed09e4e1da (patch)
tree91298aefb5dc1f0b584ac949250769c1a10f1a2f
parent3d6b3824fa265e271e573ecbbd1e14fa3ba1e2c8 (diff)
downloadperl-29de93916e366a4e2dd15cfdd2f0e6ed09e4e1da.tar.gz
warning: storage class after type is obsolescent
Message-ID: <20000814164247.A16368@con2-dgi> p4raw-id: //depot/perl@6623
-rw-r--r--regcomp.pl8
-rw-r--r--regnodes.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/regcomp.pl b/regcomp.pl
index d7d0733010..6ae847882d 100644
--- a/regcomp.pl
+++ b/regcomp.pl
@@ -57,7 +57,7 @@ print OUT <<EOP;
#ifdef REG_COMP_C
-const static U8 regarglen[] = {
+static const U8 regarglen[] = {
EOP
$ind = 0;
@@ -73,7 +73,7 @@ EOP
print OUT <<EOP;
};
-const static char reg_off_by_arg[] = {
+static const char reg_off_by_arg[] = {
EOP
$ind = 0;
@@ -89,7 +89,7 @@ print OUT <<EOP;
};
#ifdef DEBUGGING
-const static char * const reg_name[] = {
+static const char * const reg_name[] = {
EOP
$ind = 0;
@@ -105,7 +105,7 @@ EOP
print OUT <<EOP;
};
-const static int reg_num = $tot;
+static const int reg_num = $tot;
#endif /* DEBUGGING */
#endif /* REG_COMP_C */
diff --git a/regnodes.h b/regnodes.h
index c5725cd707..89c78e6bac 100644
--- a/regnodes.h
+++ b/regnodes.h
@@ -173,7 +173,7 @@ EXTCONST U8 PL_regkind[] = {
#ifdef REG_COMP_C
-const static U8 regarglen[] = {
+static const U8 regarglen[] = {
0, /* END */
0, /* SUCCEED */
0, /* BOL */
@@ -256,7 +256,7 @@ const static U8 regarglen[] = {
0, /* OPTIMIZED */
};
-const static char reg_off_by_arg[] = {
+static const char reg_off_by_arg[] = {
0, /* END */
0, /* SUCCEED */
0, /* BOL */
@@ -340,7 +340,7 @@ const static char reg_off_by_arg[] = {
};
#ifdef DEBUGGING
-const static char * const reg_name[] = {
+static const char * const reg_name[] = {
"END", /* 0 */
"SUCCEED", /* 0x1 */
"BOL", /* 0x2 */
@@ -423,7 +423,7 @@ const static char * const reg_name[] = {
"OPTIMIZED", /* 0x4f */
};
-const static int reg_num = 80;
+static const int reg_num = 80;
#endif /* DEBUGGING */
#endif /* REG_COMP_C */