From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Sun, 30 Oct 2011 15:59:04 -0400 Subject: [U-Boot] [PATCH 04/39] GCC4.6: Squash warning in cmd_date.c In-Reply-To: <1319242654-15534-5-git-send-email-marek.vasut@gmail.com> References: <1319242654-15534-1-git-send-email-marek.vasut@gmail.com> <1319242654-15534-5-git-send-email-marek.vasut@gmail.com> Message-ID: <201110301559.05244.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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