summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2010-05-09 19:41:44 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2010-05-09 19:41:44 +0000
commit8e22e5f22be085e6eb7fd07605f4e5f3cac8ff8c (patch)
tree1adab5f3a2dc36dedea47bff95ae21ffb586cd2f /sys/arch/amd64/stand
parent4749603f78f32501b8c28928570db77ab29474bd (diff)
Fix packed use and unbreak with gcc4, same as i386.
ok jsg
Diffstat (limited to 'sys/arch/amd64/stand')
-rw-r--r--sys/arch/amd64/stand/libsa/pxe.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/stand/libsa/pxe.h b/sys/arch/amd64/stand/libsa/pxe.h
index e03e7d76616..80a14811035 100644
--- a/sys/arch/amd64/stand/libsa/pxe.h
+++ b/sys/arch/amd64/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/09 19:41:43 nicm 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;