summaryrefslogtreecommitdiff
path: root/tables.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-21 15:15:40 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-21 15:15:40 -0700
commitcda816306d437d4b7c170afcd983263b5fb83c17 (patch)
tree725589130e196b47088d5e6375c00c21b9823cfa /tables.h
parentf221b9ee0876124630cbdefc803d94394f847ee9 (diff)
downloadnasm-cda816306d437d4b7c170afcd983263b5fb83c17.tar.gz
nasm-cda816306d437d4b7c170afcd983263b5fb83c17.tar.bz2
nasm-cda816306d437d4b7c170afcd983263b5fb83c17.zip
Drop the index tables from the canned macros
Instead of an array of strings, just have a character array; that reduces the size of canned macros by up to 30%, and we only did sequential access anyway.
Diffstat (limited to 'tables.h')
-rw-r--r--tables.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tables.h b/tables.h
index c9a4c72..f0044a5 100644
--- a/tables.h
+++ b/tables.h
@@ -14,9 +14,9 @@
/* --- From standard.mac via macros.pl: --- */
/* macros.c */
-extern const char * const nasm_stdmac[];
-extern const char * const * const nasm_stdmac_after_tasm;
-const char * const *nasm_stdmac_find_package(const char *);
+extern const char nasm_stdmac[];
+extern const char * const nasm_stdmac_after_tasm;
+const char *nasm_stdmac_find_package(const char *);
/* --- From insns.dat via insns.pl: --- */