From: Mike Frysinger Date: Thu, 23 Jun 2011 18:59:40 -0400 Subject: [U-Boot] [PATCH v2 3/6] common: make abortboot available for menu use In-Reply-To: <1308853655-12407-4-git-send-email-jason.hobbs@calxeda.com> References: <1308853655-12407-1-git-send-email-jason.hobbs@calxeda.com> <1308853655-12407-4-git-send-email-jason.hobbs@calxeda.com> Message-ID: <201106231859.41620.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 Thursday, June 23, 2011 14:27:32 Jason Hobbs wrote: > +#ifdef CONFIG_MENU > +int abortboot(int bootdelay) > +#else > static __inline__ int abortboot(int bootdelay) > +#endif more ifdef trickery here than necessary: #ifndef CONFIG_MENU static inline #endif int abortboot(int bootdelay) { -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/20110623/6703be5e/attachment.pgp