summaryrefslogtreecommitdiff
path: root/include/struct.h
AgeCommit message (Collapse)Author
2001-01-03Finally put this mistake to rest.Poul-Henning Kamp
Notes: svn path=/head/; revision=70626
2000-12-01Make <struct.h> #error instead of #warn that it is going away on jan 1st.Poul-Henning Kamp
Notes: svn path=/head/; revision=69498
2000-10-27Convert all users of fldoff() to offsetof(). fldoff() is badPoul-Henning Kamp
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 Notes: svn path=/head/; revision=67708
1994-05-24BSD 4.4 Lite Include SourcesRodney W. Grimes
Notes: svn path=/head/; revision=1539