aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-11-03 10:38:44 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-11-03 21:54:22 +0100
commit1e6f6c0efc0fd3386669cfa55f8333887b8d5ea5 (patch)
tree81129f49b036a9a5ddf0cde10febfbd27bac211e
parentb8916941e20ee3bba9848743bf98ef8baba68ca4 (diff)
downloadsparse-1e6f6c0efc0fd3386669cfa55f8333887b8d5ea5.tar.gz
remove unused SYM_TYPEDEF
SYM_TYPEDEF is not used anymore since the SYM -> MOD conversion. So, remove it. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r--ast-inspect.c1
-rw-r--r--show-parse.c1
-rw-r--r--symbol.c1
-rw-r--r--symbol.h1
4 files changed, 0 insertions, 4 deletions
diff --git a/ast-inspect.c b/ast-inspect.c
index d1b4f9ac..b510cd9b 100644
--- a/ast-inspect.c
+++ b/ast-inspect.c
@@ -109,7 +109,6 @@ static const char *symbol_type_name(enum type type)
[SYM_STRUCT] = "SYM_STRUCT",
[SYM_UNION] = "SYM_UNION",
[SYM_ENUM] = "SYM_ENUM",
- [SYM_TYPEDEF] = "SYM_TYPEDEF",
[SYM_TYPEOF] = "SYM_TYPEOF",
[SYM_BITFIELD] = "SYM_BITFIELD",
[SYM_LABEL] = "SYM_LABEL",
diff --git a/show-parse.c b/show-parse.c
index 23246074..7b65ba67 100644
--- a/show-parse.c
+++ b/show-parse.c
@@ -58,7 +58,6 @@ static void do_debug_symbol(struct symbol *sym, int indent)
[SYM_STRUCT] = "strt",
[SYM_UNION] = "unin",
[SYM_ENUM] = "enum",
- [SYM_TYPEDEF] = "tdef",
[SYM_TYPEOF] = "tpof",
[SYM_BITFIELD] = "bitf",
[SYM_LABEL] = "labl",
diff --git a/symbol.c b/symbol.c
index 30f5d27d..a410af43 100644
--- a/symbol.c
+++ b/symbol.c
@@ -533,7 +533,6 @@ const char* get_type_name(enum type type)
[SYM_STRUCT] = "struct",
[SYM_UNION] = "union",
[SYM_ENUM] = "enum",
- [SYM_TYPEDEF] = "typedef",
[SYM_TYPEOF] = "typeof",
[SYM_BITFIELD] = "bitfield",
[SYM_LABEL] = "label",
diff --git a/symbol.h b/symbol.h
index 48c640e6..7c4568ee 100644
--- a/symbol.h
+++ b/symbol.h
@@ -64,7 +64,6 @@ enum type {
SYM_STRUCT,
SYM_UNION,
SYM_ENUM,
- SYM_TYPEDEF,
SYM_TYPEOF,
SYM_BITFIELD,
SYM_LABEL,