summaryrefslogtreecommitdiff
path: root/preproc.c
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 /preproc.c
parent310b3e165f86d6655bf68bd89ff9309aa63663f2 (diff)
downloadnasm-0a7a3b459cbf908404e3d3d80f15dad6b1c62e79.tar.gz
nasm-0a7a3b459cbf908404e3d3d80f15dad6b1c62e79.tar.bz2
nasm-0a7a3b459cbf908404e3d3d80f15dad6b1c62e79.zip
Change "const static" -> "static const" to keep gcc happy
Diffstat (limited to 'preproc.c')
-rw-r--r--preproc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/preproc.c b/preproc.c
index 9e4850a..6de1ffb 100644
--- a/preproc.c
+++ b/preproc.c
@@ -254,7 +254,7 @@ enum
* we treat CXZ and ECXZ as condition codes, albeit non-invertible
* ones, so we need a different enum...
*/
-const static char *conditions[] = {
+static const char *conditions[] = {
"a", "ae", "b", "be", "c", "cxz", "e", "ecxz", "g", "ge", "l", "le",
"na", "nae", "nb", "nbe", "nc", "ne", "ng", "nge", "nl", "nle", "no",
"np", "ns", "nz", "o", "p", "pe", "po", "s", "z"
@@ -274,7 +274,7 @@ static int inverse_ccs[] = {
/*
* Directive names.
*/
-const static char *directives[] = {
+static const char *directives[] = {
"%arg",
"%assign", "%clear", "%define", "%elif", "%elifctx", "%elifdef",
"%elifid", "%elifidn", "%elifidni", "%elifmacro", "%elifnctx", "%elifndef",
@@ -331,7 +331,7 @@ enum
TM_IFNDEF, TM_INCLUDE, TM_LOCAL
};
-const static char *tasm_directives[] = {
+static const char *tasm_directives[] = {
"arg", "elif", "else", "endif", "if", "ifdef", "ifdifi",
"ifndef", "include", "local"
};