freebsd-dev/usr.bin
Mike Barcroft fd8e4ebc8c o Move NTOHL() and associated macros into <sys/param.h>. These are
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
2002-02-18 20:35:27 +00:00
..
apply Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
ar Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
at Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
awk Switch to the One True AWK from Bell-Labs, away from GNU AWK. 2001-10-30 08:56:50 +00:00
banner Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
basename Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
biff Add header to prototype exit(3). Fix a style bug. 2002-02-16 09:25:49 +00:00
brandelf Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
bzip2 Complete bzip2-1.0.2 import. 2002-02-01 16:33:40 +00:00
c89 Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
calendar Add myself. 2002-02-11 13:13:02 +00:00
cap_mkdb Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
chat Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
checknr Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
chflags Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
chkey Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
chpass ANSIfy and remove some dead code. 2002-02-06 15:26:07 +00:00
cksum Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
cmp Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
col Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
colcrt Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
colldef Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
colrm Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
column Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
comm Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
compile_et
compress Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
ctags Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
cut Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
dig
dirname Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
dnskeygen
dnsquery
doscmd Don't rely on <sys/signal.h> to include <sys/ucontext.h>. 2002-02-17 17:19:14 +00:00
du Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
ee FILES support for bsd.prog.mk. See bsd.README for details. 2001-12-17 13:59:35 +00:00
enigma Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
env Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
expand Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
false Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
fetch If downloading to a temporary file, set the timestamp on the temp file, not 2002-02-16 14:02:57 +00:00
file Install files via FILES. 2001-12-17 16:02:15 +00:00
file2c Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
find Add a missing comma. 2001-11-20 15:45:29 +00:00
finger Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
fmt Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
fold Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
from Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
fstat Add support for devfs. In other words, for -CURRENT, make work at all 2001-12-17 13:42:46 +00:00
fsync Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
ftp Connect lukemftp to the build as the default ftp client. Lukemftp 2001-12-13 23:46:44 +00:00
gcore Removed unused include of kernel-only file <sys/lock.h>. 2001-10-13 04:54:03 +00:00
gencat * Don't SEGFAULT on attempt to write nothing (if no source files were 2002-02-13 13:00:33 +00:00
getconf mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
getopt Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
gprof Oops, forgot to remove the `beforeinstall' block. 2001-12-17 16:04:40 +00:00
gprof4 Add -K support to gprof(1), which enables dynamic symbol resolution from 2001-10-30 15:54:09 +00:00
head Make usage message and man page synopsis reflect the fact that -n 2002-01-24 22:27:50 +00:00
hesinfo Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
hexdump Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
host
id Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
indent Make this compile cleanly when warnings are enabled: 2001-10-28 18:35:32 +00:00
ipcrm Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
ipcs Include missing header files which define functions for which gcc has 2001-06-24 19:50:42 +00:00
join mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
jot Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
kdump Really fix this work to work. While rev 1.24 did allow awk to run w/o 2001-11-01 02:16:10 +00:00
kenv Deuglify the usage message by putting the program name after the 2001-11-15 15:46:45 +00:00
keylogin Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
keylogout Include missing header files which define functions for which gcc has 2001-06-24 19:41:18 +00:00
killall killall operates on all processes owned by the real uid, not the 2001-11-30 00:30:28 +00:00
ktrace Describe the '+' option in the -t trace string. 2002-02-11 09:03:34 +00:00
lam Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
last Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
lastcomm Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
ldd Add support such that if LD_TRACE_LOADED_OBJECTS_ALL is defined to a 2002-02-17 07:04:32 +00:00
leave Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
less Update for less v371 2002-01-07 20:37:33 +00:00
lessecho
lesskey
lex ``recognized -> recognize'' where appropriate. 2001-08-23 21:13:31 +00:00
limits Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
locate o Move NTOHL() and associated macros into <sys/param.h>. These are 2002-02-18 20:35:27 +00:00
lock Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
lockf Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
logger The default for -p was ``kern.notice'' in the -h case. 2001-09-06 12:48:44 +00:00
login Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
logname Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
look Warns cleanup - not ready for WARNS=2 yet. 2001-12-03 21:04:50 +00:00
lorder
lsvfs Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
m4 This commit was generated by cvs2svn to compensate for changes in r90744, 2002-02-16 21:27:48 +00:00
mail Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
make Make substitutions in internal macros like $(@F:.o=.c) work. 2002-01-12 10:45:27 +00:00
makewhatis mdoc(7) police: removed punctuation after the last SEE ALSO xref. 2001-07-10 18:00:19 +00:00
mesg Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
minigzip Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mkdep Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
mkfifo Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
mklocale o Move NTOHL() and associated macros into <sys/param.h>. These are 2002-02-18 20:35:27 +00:00
mkstr Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
mktemp Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
msgs Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
mt mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
ncal Remove gcc specific compiler flags, at least one of which doesn't work with 2002-01-08 08:53:12 +00:00
ncplist
ncplogin Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
netstat Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
newkey Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
nfsstat Style improvements recommended by Bruce as a follow up to some 2001-12-10 21:13:08 +00:00
nice Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
nl Fix typo. 2001-11-24 21:22:16 +00:00
nm Expland the emalloc to do the testing at the place of mallocing. 2001-07-24 14:08:02 +00:00
nohup Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
objformat Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
opieinfo Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
opiekey Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
opiepasswd Add opie lib dir to includes list 2002-01-03 21:20:29 +00:00
pagesize mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
passwd Apply the following mechanical transformations in preparation for 2002-02-06 13:30:31 +00:00
paste Cross-reference between lam(1) and paste(1). Add a STANDARDS section to 2001-09-21 02:51:07 +00:00
pr Ensure err is a useful value to prevent using fputs() with a NULL stream. 2002-02-17 20:53:56 +00:00
printenv Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
printf Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
quota Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
ranlib mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
renice Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
rev Remove leaf node WARNS?=2 (that mainly I added). This should 2002-02-08 22:31:43 +00:00
rlogin Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
rpcgen Have rpcgen output the prototypes for the dispatch tables 2001-11-13 11:08:29 +00:00
rpcinfo The clnt_create(KEYSERVSOCK, CRYPT_PROG, CRYPT_VERS, "unix") hacks 2002-02-05 19:26:04 +00:00
rs Do not overrun entry array when printing output tables. 2001-09-10 15:09:12 +00:00
rsh Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
rup If the remote uptime is less than one minute, print the uptime in 2001-10-17 01:44:34 +00:00
ruptime Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
rusers I've been meaning to do this for a while. Add an underscore to the 2002-01-19 23:20:02 +00:00
rwall mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
rwho I've been meaning to do this for a while. Add an underscore to the 2002-01-19 23:20:02 +00:00
sasc Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
script Minor style stuff, use __FBSDID(), remove to-be-default WARNS=2. 2001-12-12 23:23:52 +00:00
sed Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
shar mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
showmount Warns cleanups. This makes the showmount code warns clean, but some 2001-12-03 21:25:28 +00:00
size Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
smbutil Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
sockstat Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
soelim Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
split Add -a option (SUSv3) to split(1). 2002-02-01 06:55:18 +00:00
strings Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
strip Remove to-be-default WARNS?=2 2001-12-12 23:29:13 +00:00
su Don't set PAM_RHOST, this is a local login. 2002-01-24 16:20:17 +00:00
symorder WARNS=2 fixes, Use __FBSDID(), kill register keyword. 2001-12-12 23:02:30 +00:00
systat Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
tail WARNS=2 fixes, use __FBSDID(). 2001-12-12 00:01:16 +00:00
talk o Move NTOHL() and associated macros into <sys/param.h>. These are 2002-02-18 20:35:27 +00:00
tconv Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
tcopy Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
tee Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
telnet Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
tftp Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
time Fix one warning - still not warns clean. 2001-12-03 21:32:01 +00:00
tip Fix merge conflicts, and because this still has a zillion warnings, 2001-12-20 14:25:46 +00:00
top Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
touch WARNS=2 is going to be the default, so don't specify it. Use __FBSDID(). 2001-12-11 23:38:24 +00:00
tput Silence some WFORMAT=1 warnings 2002-02-04 02:37:09 +00:00
tr WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 23:36:25 +00:00
true Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
truncate Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
truss Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
tset WARNS=2 fixes, use __FBSDID(). 2001-12-11 23:29:45 +00:00
tsort Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
tty Remove WARNS?=2 and -Wall. WARNS?=2 is going to be the default. 2001-12-12 00:06:52 +00:00
uac Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ul WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
uname mdoc(7) police: bump document date for the -p change, tidy up the markup. 2002-01-17 10:38:32 +00:00
unexpand WARNS=2 is to become the default, so remove. Use __FBSDID(). 2001-12-11 23:18:25 +00:00
unifdef WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 23:20:23 +00:00
uniq WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
units Add tbl and tbsp as contractions of tablespoon, and tsp for teaspoon. 2001-12-18 11:25:58 +00:00
unvis WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
usbhidctl WARNS=2 fixes. 2001-12-11 23:25:13 +00:00
users WARNS=2 is going to become the default, so remove it from here. 2001-12-11 23:27:23 +00:00
uudecode Un-deprecate the -p option. We now have two ways to output to stdout: 2002-02-16 09:18:33 +00:00
uuencode Un-deprecate the -p option. We now have two ways to output to stdout: 2002-02-16 09:18:33 +00:00
vacation Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
vgrind Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
vi Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
vis WARNS=2 fix, add externs.h to centralise external prototypes, 2001-12-11 23:02:44 +00:00
vmstat Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
w WARNS=2 fix, use __FBSDID() and sort includes. 2001-12-11 22:18:47 +00:00
wall WARNS=2 fix, use __FBSDID(). 2001-12-11 22:22:15 +00:00
wc WARNS=2 fix, use __FBSDID(). 2001-12-11 22:23:53 +00:00
what Use __FBSDID(). remove WARNS=2 as this is going to be default. 2001-12-11 22:25:43 +00:00
whereis mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
which Use FBSDID(), WARNS=2 fix. 2001-12-11 22:27:26 +00:00
who WARNS=2 fix, use __FBSDID(). 2001-12-11 22:29:53 +00:00
whois Mark a function as __printflike() 2002-02-04 02:12:49 +00:00
window Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
write WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 22:34:38 +00:00
xargs WARNS=2 fixes, remove register keyword, use __FBSDID() 2001-12-11 22:36:26 +00:00
xinstall Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
xlint WARNS=2 fixes. 2001-12-11 22:52:36 +00:00
xstr WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 22:54:36 +00:00
yacc Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
yes Remove WARNS=2 as this is to become default. 2001-12-11 22:56:05 +00:00
ypcat Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
ypmatch Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
ypwhich Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3. 2002-02-08 23:07:37 +00:00
Makefile Re-enable tip, now that the import and merge are done. 2001-12-20 14:27:23 +00:00
Makefile.inc Backout -Werror protection. No need to walk all over the upcoming 2002-02-06 18:13:12 +00:00