diff options
Diffstat (limited to 'nasmlib.c')
-rw-r--r-- | nasmlib.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -40,7 +40,6 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <ctype.h> #include <errno.h> #include <inttypes.h> @@ -54,21 +53,6 @@ vefunc nasm_verror; /* Global error handling function */ /* Uninitialized -> all zero by C spec */ const uint8_t zero_buffer[ZERO_BUF_SIZE]; -/* - * Prepare a table of tolower() results. This avoids function calls - * on some platforms. - */ - -unsigned char nasm_tolower_tab[256]; - -void tolower_init(void) -{ - int i; - - for (i = 0; i < 256; i++) - nasm_tolower_tab[i] = tolower(i); -} - void nasm_error(int severity, const char *fmt, ...) { va_list ap; |