aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/gpt.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2002-05-30 05:44:23 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2002-05-30 05:44:23 +0000
commit2e1cdcf311da4b2becc31cfb34afee04583da65a (patch)
treea04e63d7bcdf3235dff91508e41fea32c020ec1f /sys/sys/gpt.h
parent8f88cb849bb4539e8547886eb27086898c041643 (diff)
downloadsrc-2e1cdcf311da4b2becc31cfb34afee04583da65a.tar.gz
src-2e1cdcf311da4b2becc31cfb34afee04583da65a.zip
o Remove GCC specific attribute packed.
o Add incomplete array padding.
Notes
Notes: svn path=/head/; revision=97537
Diffstat (limited to 'sys/sys/gpt.h')
-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 f5b17e19eb1f..95a6cda8c011 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;