diff options
Diffstat (limited to 'sys/dev/wds/wd7000.c')
-rw-r--r-- | sys/dev/wds/wd7000.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/wds/wd7000.c b/sys/dev/wds/wd7000.c index abba71d3..c09532a 100644 --- a/sys/dev/wds/wd7000.c +++ b/sys/dev/wds/wd7000.c @@ -159,10 +159,6 @@ #include <isa/isavar.h> #include <isa/pnpvar.h> -/* somehow offsetof() was lost in FreeBSD 5.0, so declare it */ -#undef offsetof -#define offsetof(type, field) ( (int)( &((type *)0)->field ) ) - #define WDSTOPHYS(wp, a) ( ((u_long)a) - ((u_long)wp->dx) + ((u_long)wp->dx_p) ) #define WDSTOVIRT(wp, a) ( ((char *)a) - ((char*)wp->dx_p) + ((char *)wp->dx) ) |