aboutsummaryrefslogtreecommitdiff
path: root/cc.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc.h')
-rw-r--r--cc.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/cc.h b/cc.h
index e69bad0..5e244f0 100644
--- a/cc.h
+++ b/cc.h
@@ -181,14 +181,6 @@ enum typeprop {
PROPFLOAT = 1<<5
};
-struct param {
- char *name;
- struct type *type;
- enum typequal qual;
- struct value *value;
- struct param *next;
-};
-
struct bitfield {
short before; /* number of bits in the storage unit before the bit-field */
short after; /* number of bits in the storage unit after the bit-field */
@@ -224,7 +216,7 @@ struct type {
} array;
struct {
bool isprototype, isvararg, isnoreturn, paraminfo;
- struct param *params;
+ struct decl *params;
size_t nparam;
} func;
struct {
@@ -443,8 +435,6 @@ enum typeprop typeprop(struct type *);
struct member *typemember(struct type *, const char *, unsigned long long *);
bool typehasint(struct type *, unsigned long long, bool);
-struct param *mkparam(char *, struct type *, enum typequal);
-
extern struct type typevoid;
extern struct type typebool;
extern struct type typechar, typeschar, typeuchar;