summaryrefslogtreecommitdiff
path: root/nasm.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-18 18:57:16 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-07-18 18:57:16 -0700
commitdbb640b84682eb9b1382fe58c41ba75465bb4a7d (patch)
treeed33a8a519b70e2e54251c1b183cbaa04fdd6c97 /nasm.h
parent00444ae04e91cfd14b505e54934aecf4462eadea (diff)
downloadnasm-dbb640b84682eb9b1382fe58c41ba75465bb4a7d.tar.gz
nasm-dbb640b84682eb9b1382fe58c41ba75465bb4a7d.tar.bz2
nasm-dbb640b84682eb9b1382fe58c41ba75465bb4a7d.zip
Drop efunc and evalfunc as input to the preprocessor
We only ever invoked the preprocessor with fixed values for efunc and evalfunc, so call nasm_error() and evaluate() directly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'nasm.h')
-rw-r--r--nasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nasm.h b/nasm.h
index a94cb0a..9e233fc 100644
--- a/nasm.h
+++ b/nasm.h
@@ -355,7 +355,7 @@ typedef struct preproc_ops {
* of the pass, an error reporting function, an evaluator
* function, and a listing generator to talk to.
*/
- void (*reset) (char *, int, efunc, evalfunc, ListGen *, StrList **);
+ void (*reset) (char *, int, ListGen *, StrList **);
/*
* Called to fetch a line of preprocessed source. The line