aboutsummaryrefslogtreecommitdiff
path: root/cc.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2022-11-26 23:04:55 -0800
committerMichael Forney <mforney@mforney.org>2022-11-26 23:04:55 -0800
commit527fdf60a483475ccd6131c7e736d788cd2704cf (patch)
treea88766dbcfbecb1a35d7a4a2d23a11b47e08c61f /cc.h
parent22f0078572b3c37d65e484f5da5a6033941fd6b5 (diff)
Keep track of asmname in decl and remove globalname()
Diffstat (limited to 'cc.h')
-rw-r--r--cc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc.h b/cc.h
index 0d29dde..263b209 100644
--- a/cc.h
+++ b/cc.h
@@ -268,6 +268,7 @@ struct decl {
struct type *type;
enum typequal qual;
struct value *value;
+ char *asmname;
_Bool defined;
/* link in list of tentative object definitions */
@@ -523,7 +524,6 @@ void switchcase(struct switchcases *, unsigned long long, struct block *);
struct block *mkblock(char *);
struct value *mkglobal(char *, _Bool);
-char *globalname(struct value *);
struct value *mkintconst(unsigned long long);
unsigned long long intconstvalue(struct value *);