summaryrefslogtreecommitdiffstats
path: root/sys/dev/iir/iir.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-05-13 14:11:33 +0000
committerbde <bde@FreeBSD.org>2002-05-13 14:11:33 +0000
commitd9521251f3b2be0b2995701b667cd2046f93becc (patch)
tree3d0206951f25b3829fa50c7191a44e8879670622 /sys/dev/iir/iir.c
parenta38b002c0bef457e70afe124452fb78691d1dea0 (diff)
downloadFreeBSD-src-d9521251f3b2be0b2995701b667cd2046f93becc.zip
FreeBSD-src-d9521251f3b2be0b2995701b667cd2046f93becc.tar.gz
Don't include <stddef.h> "For offsetof". This is not even wrong in
-current, since offsetof() is defined a header under /sys so that system sources don't need to have this wrong include. This bug was only detected because my version of <stddef.h> has some spelling fixes (s/field/member/g) and gcc is now sensitive to the spelling of arg names in macros as required by standards (ISO C90 6.8.3...).
Diffstat (limited to 'sys/dev/iir/iir.c')
-rw-r--r--sys/dev/iir/iir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/iir/iir.c b/sys/dev/iir/iir.c
index 38fe00a..4bcf27f 100644
--- a/sys/dev/iir/iir.c
+++ b/sys/dev/iir/iir.c
@@ -54,8 +54,6 @@
#include <sys/kernel.h>
#include <sys/bus.h>
-#include <stddef.h> /* For offsetof */
-
#include <machine/bus_memio.h>
#include <machine/bus_pio.h>
#include <machine/bus.h>
OpenPOWER on IntegriCloud