Use __packed from cdefs.h

Submitted by:	pyunyh
Reviewed by:	Shaowei WANG <wsw1wsw2 gmail com>
MFC after:	2 weeks
This commit is contained in:
delphij 2009-03-25 06:27:56 +00:00
parent b02644481a
commit 843c731c8d

View File

@ -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)