Please test review this patch:
http://phk.freebsd.dk/patch/offsetof.patch
-
Define offsetof() in sys/types.h for the kernel and in stddef.h
for userland.
#ifdef the definition in stddef.h and sys/types.h so that
we don't need N identical definitions in machine/ansi.h
Poul-Henning Kamp wrote:
Please test review this patch:
http://phk.freebsd.dk/patch/offsetof.patch
-
Define offsetof() in sys/types.h for the kernel and in stddef.h
for userland.
#ifdef the definition in stddef.h and sys/types.h so that
we don't need N
Please test review this patch:
http://phk.freebsd.dk/patch/offsetof.patch
I believe that several drivers include stddef.h to get
offsetof. I think most of these files are flagged by
"/* for offsetof */".
--
Justin
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe
In message [EMAIL PROTECTED], "Justin T. Gibbs" wri
tes:
Please test review this patch:
http://phk.freebsd.dk/patch/offsetof.patch
I believe that several drivers include stddef.h to get
offsetof. I think most of these files are flagged by
"/* for offsetof */".
Right, in fact there are