Christopher Li wrote: > I found it very useful for debug_symbol to show the builtin > type name. Applied, with one minor style fix noted below. > Signed-off-by: Christopher Li<sparse@xxxxxxxxxxx> > > Index: sparse/symbol.h > =================================================================== > --- sparse.orig/symbol.h 2006-12-14 20:26:32.000000000 -0800 > +++ sparse/symbol.h 2006-12-14 20:28:01.000000000 -0800 > @@ -239,6 +239,8 @@ extern void bind_symbol(struct symbol *, > extern struct symbol *examine_symbol_type(struct symbol *); > extern void examine_simple_symbol_type(struct symbol *); > extern const char *show_typename(struct symbol *sym); > +extern const char* builtin_typename(struct symbol *sym); > +extern const char* builtin_ctypename(struct ctype *ctype); The * goes next to the name, not the type: ...char *builtin_..., not ...char* builtin_... (The same issue applied to the definition of these two functions as well.) - Josh Triplett
Attachment:
signature.asc
Description: OpenPGP digital signature