aboutsummaryrefslogtreecommitdiff
path: root/include/struct.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC:David E. O'Brien2001-03-051-0/+6
| | | | | | | | | | | | 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> Notes: svn path=/stable/4/; revision=73745
* BSD 4.4 Lite Include SourcesRodney W. Grimes1994-05-241-0/+51
Notes: svn path=/head/; revision=1539