summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fastd.h2
-rw-r--r--src/handshake.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fastd.h b/src/fastd.h
index cc88282..3531219 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -58,7 +58,7 @@
/** An ethernet address */
-struct __attribute__((__packed__)) fastd_eth_addr {
+struct __attribute__((packed)) fastd_eth_addr {
uint8_t data[6]; /**< The bytes of the address */
};
diff --git a/src/handshake.h b/src/handshake.h
index 997f955..ff4e55a 100644
--- a/src/handshake.h
+++ b/src/handshake.h
@@ -70,7 +70,7 @@ typedef enum fastd_reply_code {
/** The handshake packet structure (not including the initial packet type byte) */
-typedef struct __attribute__((__packed__)) fastd_handshake_packet {
+typedef struct __attribute__((packed)) fastd_handshake_packet {
uint8_t rsv; /**< Reserved (must be 0) */
uint16_t tlv_len; /**< Length of the TLV records (before fastd v11 this was always 0, which is interpreted as "the whole packet") */
uint8_t tlv_data[]; /**< TLV record data */