diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-10-27 11:45:49 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-10-27 11:45:49 +0000 |
| commit | 46aa3347cb72a78253d66cee79e17413af61804c (patch) | |
| tree | 5a6a7cebc3f9800c1819d1438e9a53e273da5747 /sys/dev/wds | |
| parent | 303fd73aa775b9289ced7cc21fa3ad62d283450e (diff) | |
Notes
Diffstat (limited to 'sys/dev/wds')
| -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 abba71d3bf33..c09532a8caa1 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) ) |
