From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 23 Sep 2011 23:52:35 +0200 Subject: [U-Boot] [PATCH 1/2] GCC4.6: Convert various empty macros to inline functions In-Reply-To: <201109231633.47565.vapier@gentoo.org> References: <1316804993-29406-1-git-send-email-marek.vasut@gmail.com> <201109231633.47565.vapier@gentoo.org> Message-ID: <1316814755.12313.2.camel@konomi> 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, September 23, 2011 15:09:52 Marek Vasut wrote: > > --- a/include/common.h > > +++ b/include/common.h > > > > -#define debugX(level,fmt,args...) > > +static inline void debugX(const char *fmt, ...) {} > > NAK:? you broke debugX() oh, right, good catch. But is this macro even used anyway? > > personally i'd prefer we unify these like we did with the assert(), but > this? change is better than nothing > -mike