summaryrefslogtreecommitdiff
path: root/insns.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-05-14 23:54:46 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-05-14 23:54:46 +0000
commit0a7a3b459cbf908404e3d3d80f15dad6b1c62e79 (patch)
tree3993e942dc865d96a93741f128ebcd88bc049be1 /insns.pl
parent310b3e165f86d6655bf68bd89ff9309aa63663f2 (diff)
downloadnasm-0a7a3b459cbf908404e3d3d80f15dad6b1c62e79.tar.gz
Change "const static" -> "static const" to keep gcc happy
Diffstat (limited to 'insns.pl')
-rw-r--r--insns.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/insns.pl b/insns.pl
index 243f0e83..0d95f285 100644
--- a/insns.pl
+++ b/insns.pl
@@ -164,7 +164,7 @@ if ( !defined($output) || $output eq 'n' ) {
" - don't edit it */\n\n";
print N "/* This file in included by names.c */\n\n";
- print N "const static char *insn_names[] = {";
+ print N "static const char *insn_names[] = {";
$first = 1;
foreach $i (@opcodes) {
print N "," if ( !$first );
@@ -175,7 +175,7 @@ if ( !defined($output) || $output eq 'n' ) {
}
print N "\n};\n\n";
print N "/* Conditional instructions */\n";
- print N "const static char *icn[] = {";
+ print N "static const char *icn[] = {";
$first = 1;
foreach $i (@opcodes_cc) {
print N "," if ( !$first );