diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2010-05-07 20:49:15 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2010-05-07 20:49:15 +0000 |
commit | cbd6e0ca27575e2b23367ba4331e7e4a450e3b1e (patch) | |
tree | dc750e6a646e0d7c973090af947fa4d31b749ca8 /sys/arch/i386 | |
parent | 6089a29b0fd5de4d1148443f501935ac22e33724 (diff) |
fix packed use as pointed out by gcc4.
ok kettenis@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/stand/libsa/pxe.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/libsa/pxe.h b/sys/arch/i386/stand/libsa/pxe.h index e03e7d76616..69b316c4bb0 100644 --- a/sys/arch/i386/stand/libsa/pxe.h +++ b/sys/arch/i386/stand/libsa/pxe.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pxe.h,v 1.3 2007/11/25 20:00:03 martynas Exp $ */ +/* $OpenBSD: pxe.h,v 1.4 2010/05/07 20:49:14 jsg Exp $ */ /* $NetBSD: pxe.h,v 1.1 2002/02/16 03:37:40 thorpej Exp $ */ /* @@ -50,13 +50,13 @@ typedef struct { uint16_t offset; uint16_t segment; -} SEGOFF16_t __attribute__((__packed__)); +} __packed SEGOFF16_t; typedef struct { uint16_t Seg_Addr; uint32_t Phy_Addr; uint16_t Seg_Size; -} SEGDESC_t __attribute__((__packed__)); +} __packed SEGDESC_t; typedef uint16_t SEGSEL_t; typedef uint16_t PXENV_STATUS_t; |