freebsd-dev/include
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
..
arpa
protocols
rpc
rpcsvc
_ctype.h
a.out.h
ar.h
assert.h
bitstring.h Cleanup of bitstring.h: 2000-10-09 12:34:51 +00:00
ctype.h
db.h
dirent.h
disktab.h
dlfcn.h Add a definition for RTLD_DEFAULT. 2000-09-19 04:24:50 +00:00
elf-hints.h
elf.h
err.h
fnmatch.h
fstab.h
fts.h
glob.h
grp.h
hesiod.h
histedit.h
ieeefp.h
ifaddrs.h
iso646.h
libgen.h
limits.h
link.h Update the prototype for "r_brk" to correspond with the change in 2000-09-18 20:40:32 +00:00
locale.h
Makefile Add netnatm to LDIRS 2000-10-16 07:00:18 +00:00
malloc.h
math.h
memory.h
mpool.h
ndbm.h
netdb.h
nl_types.h
nlist.h
nsswitch.h
objformat.h
paths.h
pthread_np.h
pthread.h
pwd.h
ranlib.h
regex.h
regexp.h
resolv.h
rune.h
runetype.h
search.h
setjmp.h
sgtty.h
signal.h
stab.h
stdbool.h Welcome stdbool.h. A header file from the ANSI C99 specification. 2000-09-16 07:28:44 +00:00
stddef.h Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
stdio.h
stdlib.h
strhash.h
string.h
stringlist.h
strings.h
struct.h Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
sysexits.h
tar.h
time.h
timers.h
ttyent.h
unistd.h
utime.h
utmp.h
vis.h