Date: Tue, 24 Oct 2000 09:56:59 -0700 From: Julian Elischer <julian@elischer.org> To: Poul-Henning Kamp <phk@freebsd.org> Cc: current@freebsd.org Subject: Re: Review: offsetof/<struct.h>/fldoff patch. Message-ID: <39F5BF5B.7A8864AC@elischer.org> References: <20333.972403488@critter>
next in thread | previous in thread | raw e-mail | index | archive | help
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 identical definitions in <machine/ansi.h> but > still allow for a MD definition there should need be. > > Use offsetof() instead of fldoff() > > Remove nested include of <struct.h> from <sys/queue.h> > > Remove local definitions of offsetof(). > > Deprecate <struct.h> Tell people who get the message what to replace fldoff() with... > ----------------- > -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39F5BF5B.7A8864AC>