SYM_TYPEDEF is not used anymore since the SYM -> MOD conversion. So, remove it. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- ast-inspect.c | 1 - show-parse.c | 1 - symbol.c | 1 - symbol.h | 1 - 4 files changed, 4 deletions(-) diff --git a/ast-inspect.c b/ast-inspect.c index d1b4f9ace..b510cd9b1 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 232460743..7b65ba679 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 30f5d27df..a410af43a 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 6ad026d3b..ee7088718 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, -- 2.23.0