From 2e1cdcf311da4b2becc31cfb34afee04583da65a Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Thu, 30 May 2002 05:44:23 +0000 Subject: [PATCH] o Remove GCC specific attribute packed. o Add incomplete array padding. --- sys/sys/gpt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h index f5b17e19eb1..95a6cda8c01 100644 --- a/sys/sys/gpt.h +++ b/sys/sys/gpt.h @@ -46,7 +46,8 @@ struct gpt_hdr { uint32_t hdr_entries; uint32_t hdr_entsz; uint32_t hdr_crc_table; -} __attribute__((packed)); + char padding[]; /* XXX: struct not a multiple of 8. */ +}; struct gpt_ent { struct uuid ent_type;