
Dear Prafulla Wadaskar,
In message 73173D32E9439E4ABB5151606C3E19E202DE09CE02@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