freebsd-src/sys/dev/sound
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
..
isa add reinit functions to mixers 2000-10-26 20:46:58 +00:00
midi Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
pci add reinit functions to mixers 2000-10-26 20:46:58 +00:00
pcm add reinit functions to mixers 2000-10-26 20:46:58 +00:00
chip.h - Handle an interrupt for csa primarily in the bridge driver, 2000-01-03 02:51:16 +00:00
driver.c Enable the snd_maestro module and have the snd_driver module depend on it. 2000-09-23 17:35:37 +00:00