aboutsummaryrefslogtreecommitdiff
path: root/decl.h
diff options
context:
space:
mode:
Diffstat (limited to 'decl.h')
-rw-r--r--decl.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/decl.h b/decl.h
index 98fd768..4335278 100644
--- a/decl.h
+++ b/decl.h
@@ -1,4 +1,4 @@
-enum declarationkind {
+enum declkind {
DECLTYPE,
DECLOBJECT,
DECLFUNC,
@@ -25,8 +25,8 @@ enum builtinkind {
BUILTINVASTART,
};
-struct declaration {
- enum declarationkind kind;
+struct decl {
+ enum declkind kind;
enum linkage linkage;
struct type *type;
struct value *value;
@@ -41,13 +41,13 @@ struct declaration {
};
struct scope;
-struct function;
+struct func;
-struct declaration *mkdecl(enum declarationkind, struct type *, enum linkage);
-_Bool decl(struct scope *, struct function *);
+struct decl *mkdecl(enum declkind, struct type *, enum linkage);
+_Bool decl(struct scope *, struct func *);
struct type *typename(struct scope *);
-struct expression;
-struct declaration *stringdecl(struct expression *);
+struct expr;
+struct decl *stringdecl(struct expr *);
void emittentativedefns(void);