Removed unused __attribute__((__packed__)) only gcc compatible.
authorManuele Conti <conti.ma@alice.it>
Mon, 12 Nov 2012 22:33:58 +0100
changeset 741 cdce312be3c4
parent 740 62c6d883f753
child 742 a9741eb5aaab
child 743 fbf77edf54ca
Removed unused __attribute__((__packed__)) only gcc compatible.
lib/iec_types.h
--- 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*/