diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-04-06 04:42:10 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-04-06 04:42:10 +0000 |
commit | ffceee0a9bdf5623166b2e619112624678bdd7d6 (patch) | |
tree | 6b4c1cde2b4bfeae53032bc8bd9ddd33aa7b1f10 /sys/dev/ic/aic7xxx.c | |
parent | ccea5a5a7c92530c31d0d76d0c1b2fd4ccf7e938 (diff) |
Move offsetof define into sys/param.h
Diffstat (limited to 'sys/dev/ic/aic7xxx.c')
-rw-r--r-- | sys/dev/ic/aic7xxx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/aic7xxx.c b/sys/dev/ic/aic7xxx.c index 56d8b4ee5aa..837e44504fd 100644 --- a/sys/dev/ic/aic7xxx.c +++ b/sys/dev/ic/aic7xxx.c @@ -33,7 +33,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx.c,v 1.40 2000/01/07 23:08:17 gibbs Exp $ - * $OpenBSD: aic7xxx.c,v 1.25 2001/03/25 06:15:37 csapuntz Exp $ + * $OpenBSD: aic7xxx.c,v 1.26 2001/04/06 04:42:06 csapuntz Exp $ */ /* * A few notes on features of the driver. @@ -122,7 +122,6 @@ #define AHC_TMODE_ENABLE 0 #endif #include <sys/kernel.h> -#define offsetof(s, e) ((char *)&((s *)0)->e - (char *)((s *)0)) #ifndef le32toh #define le32toh letoh32 /* to match Free/Net macros */ |