summaryrefslogtreecommitdiff
path: root/output/outbin.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-11 00:05:31 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-11 00:05:57 -0700
commit70055964fc24699c07c515dd9a603196ba06a654 (patch)
tree10deb40fda3517be5d7b21b191429bcfd220d15a /output/outbin.c
parent54901e1785dcc7e8aec3198f58f580165856672f (diff)
downloadnasm-70055964fc24699c07c515dd9a603196ba06a654.tar.gz
Additional uses of bool and enum
Proper use of bool and enum makes code easier to debug. Do more of it. In particular, we really should stomp out any residual uses of magic constants that aren't enums or, in some cases, even #defines.
Diffstat (limited to 'output/outbin.c')
-rw-r--r--output/outbin.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/output/outbin.c b/output/outbin.c
index b5a7524c..32bd88a2 100644
--- a/output/outbin.c
+++ b/output/outbin.c
@@ -124,7 +124,6 @@ static struct Reloc {
} *relocs, **reloctail;
extern char *stdscan_bufptr;
-extern int lookup_label(char *label, int32_t *segment, int32_t *offset);
static uint8_t format_mode; /* 0 = original bin, 1 = extended bin */
static int32_t current_section; /* only really needed if format_mode = 0 */