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 /names.c | |
parent | 310b3e165f86d6655bf68bd89ff9309aa63663f2 (diff) | |
download | nasm-0a7a3b459cbf908404e3d3d80f15dad6b1c62e79.tar.gz |
Change "const static" -> "static const" to keep gcc happy
Diffstat (limited to 'names.c')
-rw-r--r-- | names.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ * distributed in the NASM archive. */ -const static char *reg_names[] = { /* register names, as strings */ +static const char *reg_names[] = { /* register names, as strings */ "ah", "al", "ax", "bh", "bl", "bp", "bx", "ch", "cl", "cr0", "cr2", "cr3", "cr4", "cs", "cx", "dh", "di", "dl", "dr0", "dr1", "dr2", "dr3", "dr6", "dr7", "ds", "dx", "eax", "ebp", @@ -18,7 +18,7 @@ const static char *reg_names[] = { /* register names, as strings */ "xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7" }; -const static char *conditions[] = { /* condition code names */ +static const char *conditions[] = { /* condition code names */ "a", "ae", "b", "be", "c", "e", "g", "ge", "l", "le", "na", "nae", "nb", "nbe", "nc", "ne", "ng", "nge", "nl", "nle", "no", "np", "ns", "nz", "o", "p", "pe", "po", "s", "z" |