[U-Boot-Users] [PATCH 00/17] x86: Fix warning: type qualifiers ignored on function return type
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Mon May 19 00:10:47 CEST 2008
On 00:18 Mon 19 May , Wolfgang Denk wrote:
> In message <1211130599-28289-1-git-send-email-plagnioj at jcrosoft.com> you wrote:
> > by sync asm/byteorder.h with linux
> ...
> > +static __inline__ __attribute_const__ __u32 ___arch__swab32(__u32 x)
> ...
> > +static __inline__ __attribute_const__ __u64 ___arch__swab64(__u64 val)
>
> etc.
>
> Current Linux uses "inline" instead of "__inline__" - why the
> difference?
In Linux inline is redefined as strict inline
and we use __inline__ in all other u-boot definition
I will change it, when I'll importer the compiler header from linux.
Best Regards
J.
More information about the U-Boot
mailing list