46aa3347cb
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 |
||
---|---|---|
.. | ||
adv_eisa.c | ||
adv_isa.c | ||
adv_pci.c | ||
advansys.c | ||
advansys.h | ||
advlib.c | ||
advlib.h | ||
advmcode.c | ||
advmcode.h | ||
adw_pci.c | ||
adwcam.c | ||
adwlib.c | ||
adwlib.h | ||
adwmcode.c | ||
adwmcode.h | ||
adwvar.h |