summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */