From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Wed, 30 Jun 2010 19:04:41 -0400 Subject: [U-Boot] [PATCH 4/6 v3] exports.c: fix warning: 'dummy' defined but not used In-Reply-To: <1277937886-15576-1-git-send-email-wd@denx.de> References: <1277330773-28395-5-git-send-email-wd@denx.de> <1277937886-15576-1-git-send-email-wd@denx.de> Message-ID: <201006301904.42571.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 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