bcee06d42c
deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm |
||
---|---|---|
.. | ||
arpa | ||
protocols | ||
rpc | ||
rpcsvc | ||
_ctype.h | ||
a.out.h | ||
ar.h | ||
assert.h | ||
bitstring.h | ||
complex.h | ||
ctype.h | ||
db.h | ||
dirent.h | ||
disktab.h | ||
dlfcn.h | ||
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 | ||
inttypes.h | ||
iso646.h | ||
langinfo.h | ||
libgen.h | ||
limits.h | ||
link.h | ||
locale.h | ||
Makefile | ||
malloc.h | ||
math.h | ||
memory.h | ||
monetary.h | ||
mpool.h | ||
ndbm.h | ||
netconfig.h | ||
netdb.h | ||
nl_types.h | ||
nlist.h | ||
nsswitch.h | ||
objformat.h | ||
paths.h | ||
pthread_np.h | ||
pthread.h | ||
pwd.h | ||
ranlib.h | ||
readpassphrase.h | ||
regex.h | ||
regexp.h | ||
resolv.h | ||
rune.h | ||
runetype.h | ||
search.h | ||
setjmp.h | ||
sgtty.h | ||
signal.h | ||
stab.h | ||
stdbool.h | ||
stddef.h | ||
stdio.h | ||
stdlib.h | ||
strhash.h | ||
string.h | ||
stringlist.h | ||
strings.h | ||
sysexits.h | ||
tar.h | ||
time.h | ||
timers.h | ||
ttyent.h | ||
unistd.h | ||
utime.h | ||
utmp.h | ||
vis.h | ||
wchar.h | ||
wctype.h |