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/fxp.c | |
parent | ccea5a5a7c92530c31d0d76d0c1b2fd4ccf7e938 (diff) |
Move offsetof define into sys/param.h
Diffstat (limited to 'sys/dev/ic/fxp.c')
-rw-r--r-- | sys/dev/ic/fxp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c index cc5a8fb3769..e0362403589 100644 --- a/sys/dev/ic/fxp.c +++ b/sys/dev/ic/fxp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fxp.c,v 1.12 2001/03/22 01:38:05 angelos Exp $ */ +/* $OpenBSD: fxp.c,v 1.13 2001/04/06 04:42:05 csapuntz Exp $ */ /* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */ /* @@ -98,8 +98,6 @@ #define vtophys(va) alpha_XXX_dmamap((vm_offset_t)(va)) #endif /* __alpha__ */ -#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) - /* * NOTE! On the Alpha, we have an alignment constraint. The * card DMAs the packet immediately following the RFA. However, |