summaryrefslogtreecommitdiff
path: root/nasmlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'nasmlib.c')
-rw-r--r--nasmlib.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/nasmlib.c b/nasmlib.c
index 265091c7..a1a3191f 100644
--- a/nasmlib.c
+++ b/nasmlib.c
@@ -49,7 +49,7 @@
#include "insns.h"
int globalbits = 0; /* defined in nasm.h, works better here for ASM+DISASM */
-static vefunc nasm_verror; /* Global error handling function */
+vefunc nasm_verror; /* Global error handling function */
/* Uninitialized -> all zero by C spec */
const uint8_t zero_buffer[ZERO_BUF_SIZE];
@@ -69,11 +69,6 @@ void tolower_init(void)
nasm_tolower_tab[i] = tolower(i);
}
-void nasm_set_verror(vefunc ve)
-{
- nasm_verror = ve;
-}
-
void nasm_error(int severity, const char *fmt, ...)
{
va_list ap;