From b54f78558b4efc72f22e525369761f130ad34f4e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 25 Jun 2015 23:03:46 +0200 Subject: Use __attribute__((packed)) instead of __attribute__((__packed__)) consistently --- src/handshake.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/handshake.h') 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 */ -- cgit v1.2.3