summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-03 21:30:57 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-03 21:30:57 -0700
commit12e46510bc185fff839530bba0c7becaaf307037 (patch)
tree79f9a970aeb4d224f5ad8113e6ebfd9e84911c0a /parser.c
parentbfc17121378b315399f1df25e902f40884ba7506 (diff)
downloadnasm-12e46510bc185fff839530bba0c7becaaf307037.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.c b/parser.c
index 2096c413..5fe79f87 100644
--- a/parser.c
+++ b/parser.c
@@ -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;