[U-Boot] [PATCH 04/39] GCC4.6: Squash warning in cmd_date.c

Mike Frysinger vapier at gentoo.org
Sun Oct 30 20:59:04 CET 2011


On Friday 21 October 2011 20:16:59 Marek Vasut wrote:
> +static inline unsigned int I2C_GET_BUS(void)
> __attribute__((always_inline));
> +static inline unsigned int I2C_GET_BUS(void)
> +{

there's no need to have these prototypes double up.  if you really truly need 
the "always inline" markings, then use:
static __always_inline unsigned int I2C_GET_BUS(void)
-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/20111030/2acb673a/attachment.pgp 


More information about the U-Boot mailing list