There are duplication define for STRUCT_PACKED in wifi driver.
This patch moves STRUCT_PACKED define to compiler.h.
Change-Id: Ie9af489177364347e3a9c7e260f64df7104ffe95
Signed-off-by: EunBong Song <eunb.song@samsung.com>
#ifdef __GNUC__
#define PRINTF_FORMAT(a,b) __attribute__ ((format (printf, (a), (b))))
-#define STRUCT_PACKED __attribute__ ((packed))
#else
#define PRINTF_FORMAT(a,b)
#define STRUCT_PACKED
#define __bitwise
#endif
-#define STRUCT_PACKED __attribute__ ((__packed__))
-
#ifndef __packed
#define __packed __attribute__((__packed__))
#endif
#define DSEG
#define CODE
+
+#define STRUCT_PACKED __attribute__ ((packed))
+
/* Handle cases where sizeof(int) is 16-bits, sizeof(long) is 32-bits, and
* pointers are 16-bits.
*/