freebsd-skq/sys/dev/dpt
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
..
dpt_control.c Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
dpt_eisa.c - Convert dpt_pci.c to newbus. 2000-04-07 02:50:24 +00:00
dpt_isa.c - Convert dpt_pci.c to newbus. 2000-04-07 02:50:24 +00:00
dpt_pci.c Allow the DPT pci attachment to share IRQ's 2000-08-26 22:19:53 +00:00
dpt_scsi.c Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
dpt.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00