summaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-18 18:31:41 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-07-18 18:43:58 -0700
commit605f5155eeedea126c4fe4f2387e7a3da0fc3063 (patch)
tree9d747371d33bc82c51ec76fe63dc370dd7e9ffe5 /parser.h
parentab6443969a57014b4261f1b8a2b9c2ab1224e149 (diff)
downloadnasm-605f5155eeedea126c4fe4f2387e7a3da0fc3063.tar.gz
nasm-605f5155eeedea126c4fe4f2387e7a3da0fc3063.tar.bz2
nasm-605f5155eeedea126c4fe4f2387e7a3da0fc3063.zip
Drop the ofmt and errfunc arguments to label definition functions
We never set ofmt and errfunc to anything but the global values. Dropping them from the label definition function command line simplifies the code. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.h b/parser.h
index 7e5a9f9..eb882ed 100644
--- a/parser.h
+++ b/parser.h
@@ -39,7 +39,7 @@
#ifndef NASM_PARSER_H
#define NASM_PARSER_H
-void parser_global_info(struct ofmt *output, struct location * locp);
+void parser_global_info(struct location * locp);
insn *parse_line(int pass, char *buffer, insn * result,
efunc error, evalfunc evaluate, ldfunc ldef);
void cleanup_insn(insn * instruction);