Removed unused __attribute__((__packed__)) only gcc compatible.
--- a/lib/iec_types.h Mon Nov 12 22:26:21 2012 +0100
+++ b/lib/iec_types.h Mon Nov 12 22:33:58 2012 +0100
@@ -32,7 +32,7 @@
typedef struct {
long int tv_sec; /* Seconds. */
long int tv_nsec; /* Nanoseconds. */
-}__attribute__((packed)) IEC_TIMESPEC;
+} IEC_TIMESPEC;
typedef IEC_TIMESPEC IEC_TIME;
typedef IEC_TIMESPEC IEC_DATE;
@@ -51,6 +51,6 @@
typedef struct {
__strlen_t len;
uint8_t body[STR_MAX_LEN];
-} __attribute__((packed)) IEC_STRING;
+} IEC_STRING;
#endif /*IEC_TYPES_H*/