From 6a47c9481b07e6688e4a67f60ddc71dabdce4495 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sat, 23 Jan 1999 00:41:58 +0000 Subject: replace #pragma pack -> attribute((packed)) --- sys/dev/ic/uhareg.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys') 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)); -- cgit v1.2.3