# HG changeset patch # User Manuele Conti # Date 1352756038 -3600 # Node ID cdce312be3c4f0ea6bdd56b7e2b58aa6b74c97ae # Parent 62c6d883f753d3fe7ed7d9da314211aed5885d64 Removed unused __attribute__((__packed__)) only gcc compatible. diff -r 62c6d883f753 -r cdce312be3c4 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*/