diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2001-07-10 23:30:40 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2001-07-10 23:30:40 +0000 |
commit | a4e2702db893f3fe5c08822eeaf71af4e4a83f7b (patch) | |
tree | 7531d508d39e1ea755fb447a2e53537dc8faba24 /sys/dev/ic/iha.h | |
parent | 3863f3795b4c4913c333215cd834750d97afc55b (diff) |
Use offsetof() from sys/param.h, not a local define.
Diffstat (limited to 'sys/dev/ic/iha.h')
-rw-r--r-- | sys/dev/ic/iha.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/iha.h b/sys/dev/ic/iha.h index 41c391d99f6..133008149d2 100644 --- a/sys/dev/ic/iha.h +++ b/sys/dev/ic/iha.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iha.h,v 1.3 2001/07/09 15:20:27 krw Exp $ */ +/* $OpenBSD: iha.h,v 1.4 2001/07/10 23:30:39 krw Exp $ */ /* * Initio INI-9xxxU/UW SCSI Device Driver * @@ -48,8 +48,6 @@ #define IHA_MAX_SCB 32 #define IHA_MAX_EXTENDED_MSG 4 /* SDTR(3) and WDTR(4) only */ -#define OFFSETOF(type, member) ((size_t)(&((type *)0)->member)) - #define SCSI_CONDITION_MET 0x04 /* SCSI Status codes not defined */ #define SCSI_INTERM_COND_MET 0x14 /* in scsi_all.h */ #define SCSI_RSERV_CONFLICT 0x18 |