summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-04-27 20:12:57 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-04-27 20:12:57 +0000
commit68bf8e2cd2340071ed3977a8214a8ff4c30df557 (patch)
treef13823cebcdfa1c6f04cf3513c9d821808be224c /sys/dev
parent74263d684b6bd9df3138d7d3ed8e0106a87c1648 (diff)
__packed needs to be applied to the struct, not the typedef.
Makes gcc4 happier. ok deraadt@, marco@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/siopvar_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/siopvar_common.h b/sys/dev/ic/siopvar_common.h
index b4fd7ed271f..6f9358d6ed6 100644
--- a/sys/dev/ic/siopvar_common.h
+++ b/sys/dev/ic/siopvar_common.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: siopvar_common.h,v 1.26 2009/02/16 21:19:07 miod Exp $ */
+/* $OpenBSD: siopvar_common.h,v 1.27 2010/04/27 20:12:56 kettenis Exp $ */
/* $NetBSD: siopvar_common.h,v 1.33 2005/11/18 23:10:32 bouyer Exp $ */
/*
@@ -41,7 +41,7 @@
typedef struct scr_table {
u_int32_t count;
u_int32_t addr;
-} scr_table_t __packed;
+} __packed scr_table_t;
/* Number of scatter/gather entries */
/* XXX Ensure alignment of siop_xfer's. */