summaryrefslogtreecommitdiff
path: root/asm/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'asm/error.c')
-rw-r--r--asm/error.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/asm/error.c b/asm/error.c
index 73db7443..c61ee390 100644
--- a/asm/error.c
+++ b/asm/error.c
@@ -46,7 +46,7 @@
* Description of the suppressible warnings for the command line and
* the [warning] directive.
*/
-const struct warning warnings[ERR_WARN_ALL+1] = {
+const struct warning warnings[WARN_ALL+1] = {
{"other", "any warning not specifially mentioned below", true},
{"macro-params", "macro calls with wrong parameter count", true},
{"macro-selfref", "cyclic macro references", false},
@@ -75,8 +75,8 @@ const struct warning warnings[ERR_WARN_ALL+1] = {
{"all", "all possible warnings", false}
};
-uint8_t warning_state[ERR_WARN_ALL];/* Current state */
-uint8_t warning_state_init[ERR_WARN_ALL]; /* Command-line state, for reset */
+uint8_t warning_state[WARN_ALL];/* Current state */
+uint8_t warning_state_init[WARN_ALL]; /* Command-line state, for reset */
vefunc nasm_verror; /* Global error handling function */
@@ -182,7 +182,7 @@ bool set_warning_status(const char *value)
value = NULL;
/* This is inefficient, but it shouldn't matter... */
- for (i = 0; i < ERR_WARN_ALL; i++) {
+ for (i = 0; i < WARN_ALL; i++) {
if (!value || !nasm_stricmp(value, warnings[i].name)) {
ok = true; /* At least one action taken */
switch (action) {