[U-Boot] [PATCH 4/6 v3] exports.c: fix warning: 'dummy' defined but not used

Mike Frysinger vapier at gentoo.org
Thu Jul 1 01:04:41 CEST 2010


On Wednesday, June 30, 2010 18:44:46 Wolfgang Denk wrote:
> +static void dummy(void) __attribute__((unused));
>  static void dummy(void)
>  {
>  }

put the attribute before the "static" and you shouldnt need the duplicate 
prototype
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100630/2e59ecba/attachment.pgp 


More information about the U-Boot mailing list