svn commit: r190405 - head/sys/dev/hptiop
Xin LI
delphij at FreeBSD.org
Tue Mar 24 23:27:57 PDT 2009
Author: delphij
Date: Wed Mar 25 06:27:56 2009
New Revision: 190405
URL: http://svn.freebsd.org/changeset/base/190405
Log:
Use __packed from cdefs.h
Submitted by: pyunyh
Reviewed by: Shaowei WANG <wsw1wsw2 gmail com>
MFC after: 2 weeks
Modified:
head/sys/dev/hptiop/hptiop.h
Modified: head/sys/dev/hptiop/hptiop.h
==============================================================================
--- head/sys/dev/hptiop/hptiop.h Wed Mar 25 05:10:32 2009 (r190404)
+++ head/sys/dev/hptiop/hptiop.h Wed Mar 25 06:27:56 2009 (r190405)
@@ -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)
More information about the svn-src-all
mailing list