summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-05-30 05:44:23 +0000
committermarcel <marcel@FreeBSD.org>2002-05-30 05:44:23 +0000
commit90f98510f57c05c99bcda4836b825d39f7e409c6 (patch)
treea04e63d7bcdf3235dff91508e41fea32c020ec1f /sys
parentf391d64cb7c44c659875de182ea104686fada7a7 (diff)
downloadFreeBSD-src-90f98510f57c05c99bcda4836b825d39f7e409c6.zip
FreeBSD-src-90f98510f57c05c99bcda4836b825d39f7e409c6.tar.gz
o Remove GCC specific attribute packed.
o Add incomplete array padding.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/gpt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h
index f5b17e1..95a6cda 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;
OpenPOWER on IntegriCloud