Re: [PATCH 8] Enhance debug information.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux