aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/symbol.h
diff options
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-06 12:44:10 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:03:10 -0700
commitc0fe9d2f204bcb74f0b3662700aad44f8a8038e8 (patch)
treea188c5e3d9ae6b21d0d8a170fbafbc0fc00330e0 /symbol.h
parentdf7cd6f2c0ff73fe1071b768f6f8dd40ac0ce0e4 (diff)
downloadsparse-dev-c0fe9d2f204bcb74f0b3662700aad44f8a8038e8.tar.gz
Sanitize base type declarations some more.
Make "label_type" be a real ctype, rather than an uninitialized mess.
Diffstat (limited to 'symbol.h')
-rw-r--r--symbol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/symbol.h b/symbol.h
index 3df79583..eac31451 100644
--- a/symbol.h
+++ b/symbol.h
@@ -35,6 +35,7 @@ enum namespace {
};
enum type {
+ SYM_UNINITIALIZED,
SYM_PREPROCESSOR,
SYM_BASETYPE,
SYM_NODE,
@@ -157,7 +158,6 @@ struct symbol {
/* Basic types */
extern struct symbol void_type,
int_type,
- label_type,
fp_type,
vector_type,
bad_type;
@@ -171,7 +171,7 @@ extern struct symbol bool_ctype, void_ctype, type_ctype,
llong_ctype, ullong_ctype,
float_ctype, double_ctype, ldouble_ctype,
string_ctype, ptr_ctype, lazy_ptr_ctype,
- incomplete_ctype;
+ incomplete_ctype, label_ctype;
#define __IDENT(n,str) \