diff options
author | delphij <delphij@FreeBSD.org> | 2009-03-25 06:27:56 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-03-25 06:27:56 +0000 |
commit | 843c731c8dbe655f6c694daa47475b9e2ffb3d43 (patch) | |
tree | f86977374cc8c3daec6a119b5fe1b2acbb639654 | |
parent | b02644481a13e349268514663bb6f71f26e995b2 (diff) | |
download | FreeBSD-src-843c731c8dbe655f6c694daa47475b9e2ffb3d43.zip FreeBSD-src-843c731c8dbe655f6c694daa47475b9e2ffb3d43.tar.gz |
Use __packed from cdefs.h
Submitted by: pyunyh
Reviewed by: Shaowei WANG <wsw1wsw2 gmail com>
MFC after: 2 weeks
-rw-r--r-- | sys/dev/hptiop/hptiop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hptiop/hptiop.h b/sys/dev/hptiop/hptiop.h index a77c76b..eb48676 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) |