Dear Prafulla Wadaskar, In message <73173d32e9439e4abb5151606c3e19e202de09c...@sc-vexch1.marvell.com> you wrote: > > > > diff --git a/tools/kwbimage.h b/tools/kwbimage.h new file > > mode 100644 > > > index 0000000..c54b701 > > > --- /dev/null > > > +++ b/tools/kwbimage.h > > > ... > > > +/* typedefs */ > > > +typedef char s8; > > > +typedef unsigned char u8; > > > + > > > +typedef int s32; > > > +typedef unsigned int u32; > > > + > > > +typedef short s16; > > > +typedef unsigned short u16; > > > + > > > +typedef long s64; > > > +typedef unsigned long u64; > > > > Please get rid of these. > > Hi Wolfgang > Any suggestions for this? > I could used <linux/types.h> or <asm/types.h> but these typedefs are ifdefe= > d > under __KERNEL_STRICT_NAMES and __KERNEL__. > I don't wish to redefine or disturb them for kwbimage support
This is code running on the host, so please use ISO C99 standard types: #include <stdint.h> and use int8_t, int16_t, int32_t, int64_t resp. uint8_t, uint16_t, uint32_t, uint64_t. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Ordnung ist die Lust der Vernunft, aber Unordnung die Wonne der Phantasie - Paul Claudel _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot