aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-03-25 06:27:56 +0000
committerXin LI <delphij@FreeBSD.org>2009-03-25 06:27:56 +0000
commitd8d1cb5b8fe845773af688889f5fb4bc6c4c98aa (patch)
treef86977374cc8c3daec6a119b5fe1b2acbb639654
parente4c3a7fc88f7466a228104f3c43ef5f494295e95 (diff)
Use __packed from cdefs.h
Submitted by: pyunyh Reviewed by: Shaowei WANG <wsw1wsw2 gmail com> MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=190405
-rw-r--r--sys/dev/hptiop/hptiop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hptiop/hptiop.h b/sys/dev/hptiop/hptiop.h
index a77c76ba26d7..eb486767ce10 100644
--- a/sys/dev/hptiop/hptiop.h
+++ b/sys/dev/hptiop/hptiop.h
@@ -260,7 +260,7 @@ struct hpt_iop_ioctl_param {
unsigned long lpOutBuffer; /* output data buffer */
u_int32_t nOutBufferSize; /* size of output data buffer */
unsigned long lpBytesReturned; /* count of HPT_U8s returned */
-} __attribute__((packed));
+} __packed;
#define HPT_IOCTL_FLAG_OPEN 1
#define HPT_CTL_CODE_BSD_TO_IOP(x) ((x)-0xff00)