]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't include <stddef.h> "For offsetof". This is not even wrong in
authorBruce Evans <bde@FreeBSD.org>
Mon, 13 May 2002 14:11:33 +0000 (14:11 +0000)
committerBruce Evans <bde@FreeBSD.org>
Mon, 13 May 2002 14:11:33 +0000 (14:11 +0000)
commit5d81c9882f0ded725a13a25c675b3fa7aa69133a
tree3d0206951f25b3829fa50c7191a44e8879670622
parentfd3eff9c020ad7a04e56f33d05458d33df3a6423
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...).
sys/dev/iir/iir.c