phk 54ca48450c 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
..
1999-08-27 23:45:13 +00:00
1999-09-05 17:43:31 +00:00
1999-08-27 23:45:13 +00:00
2000-10-09 12:34:51 +00:00
2000-09-19 04:24:50 +00:00
1999-08-27 23:45:13 +00:00
1999-08-27 23:45:13 +00:00
1999-08-27 23:45:13 +00:00
1999-08-27 23:45:13 +00:00
1999-08-27 23:45:13 +00:00
1999-08-27 23:45:13 +00:00
1998-04-29 22:39:56 +00:00
2000-10-16 07:00:18 +00:00
1999-06-21 17:07:20 +00:00
1999-08-27 23:45:13 +00:00
1999-08-27 23:45:13 +00:00
1999-08-27 23:45:13 +00:00
2000-07-07 16:52:24 +00:00
1998-01-20 09:09:24 +00:00
1999-08-28 05:11:36 +00:00
1999-08-16 06:53:13 +00:00
1999-08-27 23:45:13 +00:00
1998-07-16 00:10:14 +00:00
1999-08-27 23:45:13 +00:00