Commit Graph
2 Commits
Author SHA1 Message Date
David E. O'Brien 250ca53067 MFC:
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>
2001-03-05 13:09:13 +00:00
Rodney W. Grimes 59deaec541 BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00