diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-05-14 23:54:46 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-05-14 23:54:46 +0000 |
commit | 0a7a3b459cbf908404e3d3d80f15dad6b1c62e79 (patch) | |
tree | 3993e942dc865d96a93741f128ebcd88bc049be1 /insns.pl | |
parent | 310b3e165f86d6655bf68bd89ff9309aa63663f2 (diff) | |
download | nasm-0a7a3b459cbf908404e3d3d80f15dad6b1c62e79.tar.gz |
Change "const static" -> "static const" to keep gcc happy
Diffstat (limited to 'insns.pl')
-rw-r--r-- | insns.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ); |