diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-10-03 21:30:57 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-10-03 21:30:57 -0700 |
commit | 12e46510bc185fff839530bba0c7becaaf307037 (patch) | |
tree | 79f9a970aeb4d224f5ad8113e6ebfd9e84911c0a /parser.c | |
parent | bfc17121378b315399f1df25e902f40884ba7506 (diff) | |
download | nasm-12e46510bc185fff839530bba0c7becaaf307037.tar.gz nasm-12e46510bc185fff839530bba0c7becaaf307037.tar.bz2 nasm-12e46510bc185fff839530bba0c7becaaf307037.zip |
Change cloc_t to struct location, and reorder the members
Change cloc_t to struct location, and reorder the members so that it
should fit in 16 bytes instead of needing 8 bytes of extra padding on
64-bit machines.
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,9 +36,9 @@ static int i; static struct tokenval tokval; static efunc error; static struct ofmt *outfmt; /* Structure of addresses of output routines */ -static cloc_t *location; /* Pointer to current line's segment,offset */ +static struct location *location; /* Pointer to current line's segment,offset */ -void parser_global_info(struct ofmt *output, cloc_t * locp) +void parser_global_info(struct ofmt *output, struct location * locp) { outfmt = output; location = locp; |