Poul-Henning Kamp 46aa3347cb Convert all users of fldoff() to offsetof(). fldoff() is bad
because it only takes a struct tag which makes it impossible to
use unions, typedefs etc.

Define __offsetof() in <machine/ansi.h>

Define offsetof() in terms of __offsetof() in <stddef.h> and <sys/types.h>

Remove myriad of local offsetof() definitions.

Remove includes of <stddef.h> in kernel code.

NB: Kernelcode should *never* include from /usr/include !

Make <sys/queue.h> include <machine/ansi.h> to avoid polluting the API.

Deprecate <struct.h> with a warning.  The warning turns into an error on
01-12-2000 and the file gets removed entirely on 01-01-2001.

Paritials reviews by:   various.
Significant brucifications by:  bde
2000-10-27 11:45:49 +00:00
..
2000-10-20 07:58:15 +00:00
1999-10-29 18:09:36 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:28:00 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-07-28 22:40:04 +00:00
2000-10-20 07:58:15 +00:00
1999-08-28 01:08:13 +00:00
1999-11-14 13:54:44 +00:00
2000-09-29 13:36:47 +00:00
2000-05-01 20:32:07 +00:00
2000-04-22 15:13:06 +00:00
1999-08-28 01:08:13 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
2000-09-06 18:49:13 +00:00
1999-08-28 01:08:13 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00
2000-10-20 07:58:15 +00:00