diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-01-23 00:41:58 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-01-23 00:41:58 +0000 |
commit | 6a47c9481b07e6688e4a67f60ddc71dabdce4495 (patch) | |
tree | 01fc4d55e322e103e24e11d2c43b5395cbd06840 | |
parent | b15a491976aecc8823768ee2dba5dd31ca3c6c54 (diff) |
replace #pragma pack -> attribute((packed))
-rw-r--r-- | sys/dev/ic/uhareg.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/ic/uhareg.h b/sys/dev/ic/uhareg.h index 3ae78db3253..00fbd61a2e3 100644 --- a/sys/dev/ic/uhareg.h +++ b/sys/dev/ic/uhareg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uhareg.h,v 1.1 1996/11/28 23:27:54 niklas Exp $ */ +/* $OpenBSD: uhareg.h,v 1.2 1999/01/23 00:41:57 espie Exp $ */ /* $NetBSD: uhareg.h,v 1.2 1996/09/01 00:54:41 mycroft Exp $ */ /* @@ -185,7 +185,6 @@ struct uha_dma_seg { physlen seg_len; }; -#pragma pack(1) struct uha_mscp { u_char opcode:3; #define UHA_HAC 0x01 /* host adapter command */ @@ -227,6 +226,5 @@ struct uha_mscp { #define MSCP_ALLOC 0x01 #define MSCP_ABORT 0x02 int timeout; -}; -#pragma pack(4) +} __attribute__((packed)); |