summaryrefslogtreecommitdiff
path: root/preproc.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 /preproc.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 'preproc.h')
-rw-r--r--preproc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/preproc.h b/preproc.h
index a79ae27..1c52682 100644
--- a/preproc.h
+++ b/preproc.h
@@ -15,7 +15,7 @@ extern const char * const pp_directives[];
extern const int pp_directives_len[];
/* Pointer to a macro chain */
-typedef const char * const macros_t;
+typedef const char macros_t;
enum preproc_token pp_token_hash(const char *token);
void pp_include_path(char *);