[U-Boot] [PATCH 1/2] GCC4.6: Convert various empty macros to inline functions

Mike Frysinger vapier at gentoo.org
Sat Sep 24 01:04:51 CEST 2011


On Friday, September 23, 2011 17:52:35 Marek Vasut wrote:
> > 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?

grep says yes, a little
-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/20110923/e5fc465b/attachment.pgp 


More information about the U-Boot mailing list