summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eval.c4
-rw-r--r--eval.h2
-rw-r--r--nasm.c2
-rw-r--r--nasm.h2
-rw-r--r--parser.c4
-rw-r--r--parser.h2
6 files changed, 8 insertions, 8 deletions
diff --git a/eval.c b/eval.c
index aa564e2f..e8b10ede 100644
--- a/eval.c
+++ b/eval.c
@@ -44,7 +44,7 @@ static struct tokenval *tokval; /* The current token */
static int i; /* The t_type of tokval */
static void *scpriv;
-static loc_t *location; /* Pointer to current line's segment,offset */
+static cloc_t *location; /* Pointer to current line's segment,offset */
static int *opflags;
static struct eval_hints *hint;
@@ -813,7 +813,7 @@ static expr *expr6(int critical)
}
void eval_global_info(struct ofmt *output, lfunc lookup_label,
- loc_t * locp)
+ cloc_t * locp)
{
outfmt = output;
labelfunc = lookup_label;
diff --git a/eval.h b/eval.h
index 1724e2fc..1a1b1c30 100644
--- a/eval.h
+++ b/eval.h
@@ -15,7 +15,7 @@
* look labels up.
*/
void eval_global_info(struct ofmt *output, lfunc lookup_label,
- loc_t * locp);
+ cloc_t * locp);
/*
* The evaluator itself.
diff --git a/nasm.c b/nasm.c
index b7c1c66b..ffed1e7e 100644
--- a/nasm.c
+++ b/nasm.c
@@ -69,7 +69,7 @@ static uint32_t cmd_cpu = IF_PLEVEL; /* highest level by default */
static uint32_t cpu = IF_PLEVEL; /* passed to insn_size & assemble.c */
int global_offset_changed; /* referenced in labels.c */
-static loc_t location;
+static cloc_t location;
int in_abs_seg; /* Flag we are in ABSOLUTE seg */
int32_t abs_seg; /* ABSOLUTE segment basis */
int32_t abs_offset; /* ABSOLUTE offset */
diff --git a/nasm.h b/nasm.h
index 3c491306..92708bc1 100644
--- a/nasm.h
+++ b/nasm.h
@@ -194,7 +194,7 @@ typedef struct {
int32_t segment;
int64_t offset;
int known;
-} loc_t;
+} cloc_t;
/*
* Expression-evaluator datatype. Expressions, within the
diff --git a/parser.c b/parser.c
index fc1f0cf3..2096c413 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 loc_t *location; /* Pointer to current line's segment,offset */
+static cloc_t *location; /* Pointer to current line's segment,offset */
-void parser_global_info(struct ofmt *output, loc_t * locp)
+void parser_global_info(struct ofmt *output, cloc_t * locp)
{
outfmt = output;
location = locp;
diff --git a/parser.h b/parser.h
index 7b3bfdc1..4ec5bcf2 100644
--- a/parser.h
+++ b/parser.h
@@ -10,7 +10,7 @@
#ifndef NASM_PARSER_H
#define NASM_PARSER_H
-void parser_global_info(struct ofmt *output, loc_t * locp);
+void parser_global_info(struct ofmt *output, cloc_t * locp);
insn *parse_line(int pass, char *buffer, insn * result,
efunc error, evalfunc evaluate, ldfunc ldef);
void cleanup_insn(insn * instruction);