@@ -269,16 +269,6 @@ const char *builtin_typename(struct symbol *sym)
return NULL;
}
-const char *builtin_ctypename(struct ctype *ctype)
-{
- int i;
-
- for (i = 0; i < ARRAY_SIZE(typenames); i++)
- if (&typenames[i].sym->ctype == ctype)
- return typenames[i].name;
- return NULL;
-}
-
static void do_show_type(struct symbol *sym, struct type_name *name)
{
const char *typename;
@@ -320,7 +320,6 @@ extern struct symbol *examine_pointer_target(struct symbol *);
extern const char *show_as(struct ident *as);
extern const char *show_typename(struct symbol *sym);
extern const char *builtin_typename(struct symbol *sym);
-extern const char *builtin_ctypename(struct ctype *ctype);
extern const char* get_type_name(enum type type);
extern void debug_symbol(struct symbol *);
This function has never been used and its usefulness is dubious. So, remove it. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> --- show-parse.c | 10 ---------- symbol.h | 1 - 2 files changed, 11 deletions(-)