freebsd-dev/usr.sbin
Mark Murray 16fc3635f7 Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)
that this provokes. "Wherever possible" means "In the kernel OR NOT
C++" (implying C).

There are places where (void *) pointers are not valid, such as for
function pointers, but in the special case of (void *)0, agreement
settles on it being OK.

Most of the fixes were NULL where an integer zero was needed; many
of the fixes were NULL where ascii <nul> ('\0') was needed, and a
few were just "other".

Tested on: i386 sparc64
2004-03-05 08:10:19 +00:00
..
ac Minor style(9) fixes. remove a register keyword, correct two indents. 2004-03-03 02:44:52 +00:00
accton Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
acpi Fix style breakage. 2004-03-05 02:48:22 +00:00
adduser Make rmuser now also remove ipc resources. Also, fix a few minor 2004-02-29 09:54:15 +00:00
amd Removed unnecessary dependencies on librpcsvc. 2004-02-04 11:59:08 +00:00
ancontrol Remove an annoying printf that somehow leaked into rev 1.21. 2003-11-16 08:41:24 +00:00
apm Mark APM manpages as i386-only. 2004-01-21 13:38:17 +00:00
apmd Mark APM manpages as i386-only. 2004-01-21 13:38:17 +00:00
arp mdoc(7) cleanups (use .Va, not .Dv, for sysctls.) 2003-10-03 07:48:56 +00:00
asf Add a "-f" flag for asf(8) which performs a search to find the each module 2003-11-04 06:38:37 +00:00
atm Use a size_t for variables that need to hold buffer lengths. 2003-07-29 13:40:52 +00:00
authpf Add skeleton build dirs for pf userland: 2004-02-28 21:50:50 +00:00
bluetooth Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
boot0cfg Get rid of duplicates. 2003-09-14 13:41:59 +00:00
boot98cfg s/DIOCGPC98/DIOCSPC98/ 2003-05-02 14:55:42 +00:00
bootparamd Make this compile cleanly. Switch to using rpcgen to generate 2003-10-26 05:51:51 +00:00
bsnmpd Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
btxld Make this work on different endianness machines. 2003-03-11 13:48:58 +00:00
burncd Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
cdcontrol * Auto-detect what device to use if none is specified 2003-11-17 14:02:04 +00:00
chkgrp I don't normally use my middle name, so remove it from attributions in 2004-01-25 11:39:42 +00:00
chown Use uid_t. 2003-09-07 16:43:53 +00:00
chroot Allow the optional setting of a user, primary group, or grouplist 2003-06-07 10:56:12 +00:00
ckdist - Align the function prototype of the external `crc' function with 2003-03-13 23:34:18 +00:00
config Whitespace nit. 2004-02-17 09:59:45 +00:00
cron Eliminate hard sentence breaks. 2004-03-04 19:12:27 +00:00
crunch Fix a bug that caused i386 to produce broken binaries for big-endian 2003-08-08 15:44:17 +00:00
ctm Use malloc() instead of alloca() to allocate a (potentially) large buffer 2004-01-26 04:27:22 +00:00
daemon add FBSDID 2003-07-06 12:44:11 +00:00
dconschat Normalize polling interval while the target is offline. 2004-02-20 10:59:46 +00:00
devinfo Remove unused local variable. 2004-01-04 15:51:32 +00:00
digictl style.Makefile(5) 2003-04-04 17:49:21 +00:00
diskinfo Assorted mdoc(7) fixes. 2003-05-31 18:07:09 +00:00
editmap Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
edquota Have edquota honour MAXLOGNAME rather than hardcoding the maximum 2004-02-24 20:58:16 +00:00
elf2exe
extattr Update lsextattr(8) to use the new extattr_list_*() APIs, rather than 2003-06-05 04:30:00 +00:00
extattrctl When giving examples of how to use extattrctl(8) to configure UFS1 2003-05-14 20:31:06 +00:00
faithd Fixed the fatal bug: CFLAGS should be added to, not overridden. 2004-01-17 02:27:55 +00:00
fdcontrol Backed out previous commit (bogus addition of -static to CFLAGS). 2004-02-26 06:33:18 +00:00
fdformat From PR: 2004-01-07 05:28:57 +00:00
fdread Set size field correctly, it is number of sectors on the device, not 2004-02-25 13:43:17 +00:00
fdwrite
fwcontrol o grammar fixes 2003-12-17 10:14:11 +00:00
getfmac Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
getpmac Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
gstat Add -d flag to monitor BIO_DELETE operations too 2004-02-15 09:34:08 +00:00
i4b Disable constant merging in isdnd and isdnmonitor. This is a "make my 2004-01-21 16:49:05 +00:00
ifmcstat Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
inetd Revert previous change. The effect of -w or -W option is described in 2004-02-29 15:49:26 +00:00
iostat Put libdevstat before libkvm, because the former depends on the latter. 2004-02-04 10:20:43 +00:00
ip6addrctl you have to use 'install' subcommand instead of '-c' option 2003-12-26 17:10:58 +00:00
ipftest Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipresend Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipsend Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
iptest Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
IPXrouted Drop unused dependencies. 2004-02-04 10:18:05 +00:00
jail Correct typo. 2004-02-06 21:05:42 +00:00
jexec Make jexec duplicate the actions of the shell searching for an 2003-07-04 19:14:27 +00:00
jls IP addresses can be up to 15 characters long, not 12. 2003-04-22 13:24:56 +00:00
kbdcontrol Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
kbdmap
kernbb Fix our kernel support for Basic Block Profiling to work with GCC33. 2003-12-03 07:43:03 +00:00
keyserv Put chkey(1), newkey(8), and keyserv(8) into the crypto distribution. 2004-01-18 09:29:47 +00:00
kgmon Use correct item to track max width of list 2003-03-24 20:55:28 +00:00
kgzip Remove uneeded cast. 2003-06-11 21:37:19 +00:00
kldxref I don't normally use my middle name, so remove it from attributions in 2004-01-25 11:39:42 +00:00
lastlogin
lpr Clarify the "lp" description to mention port@host syntax. 2004-02-19 18:55:55 +00:00
lptcontrol Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
mailstats Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
mailwrapper Do not install SYMLINKS if both NO_MAILWRAPPER and 2004-01-17 23:58:23 +00:00
makemap Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
manctl
memcontrol
mergemaster mergemaster -p (pre-world) doesn't populate /etc/rc.d, which led to a 2004-01-04 22:02:04 +00:00
mixer Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
mld6query Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542 2003-10-24 18:26:30 +00:00
mlxcontrol
mount_nwfs style.Makefile(5): 2004-02-23 20:25:27 +00:00
mount_portalfs style.Makefile(5): 2004-02-23 20:25:27 +00:00
mount_smbfs Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
mountd Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
moused Fix serious ugliness introduced in 1.61, which leads to long delay in boot 2004-01-10 13:09:21 +00:00
mptable Make this build and work on amd64 (sledge at least). 2003-09-30 04:09:21 +00:00
mrouted Properly use strftime(): NUL terminating character is already taken into 2004-01-04 16:07:03 +00:00
mtest add FBSDID 2003-07-06 12:44:11 +00:00
mtree Get rid of "lineno: 0" in error messages from create mode. 2004-01-11 19:38:48 +00:00
named LANG->LC_ALL 2003-08-04 21:31:53 +00:00
named.reload
named.restart
ndc style.Makefile(5) 2003-04-04 17:49:21 +00:00
ndiscvt style.Makefile(5): 2004-02-23 20:25:27 +00:00
ndp Flush stdout when -A option is used. 2004-02-10 22:50:57 +00:00
newsyslog Handle a 'const' parameter without using __DECONST(). 2003-10-04 02:24:47 +00:00
nfsd Problem: 2004-01-11 01:29:03 +00:00
ngctl Get rid of all (but one in write.c) static size buffers. 2004-01-27 21:52:52 +00:00
nghook style.Makefile(5): 2004-02-23 20:25:27 +00:00
nologin Report login attempts to syslog. Due to the statically-linked nature of 2004-02-22 10:03:24 +00:00
nslookup style.Makefile(5) 2003-04-04 17:49:21 +00:00
nsupdate
ntp Xref police: ntp.conf(8) -> ntp.conf(5). 2003-06-17 09:51:17 +00:00
ofwdump This is Sparc64-only. 2004-01-21 14:06:25 +00:00
pccard o Document -s flag. 2004-01-15 13:23:21 +00:00
pciconf Update pciconf man page to indicate that only some of the functions 2004-01-06 20:23:20 +00:00
pcvt Call exit(0), not exit. 2003-04-29 19:53:00 +00:00
periodic
pkg_install Add command line option for chrootdir, all pkg_add(8) operations will be 2004-03-01 21:58:21 +00:00
pnpinfo Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
ppp Use the length of the interface name, not the length of its address when 2004-01-21 22:00:50 +00:00
pppctl Apply s/LIBC_R/LIBPTHREAD/ to the DPADD variable. The LDADD variable 2004-01-31 17:28:09 +00:00
pppd o Now when the Cold War is ended we can confess our pppd(8) supports 2004-02-28 21:32:40 +00:00
pppstats
praliases Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
procctl Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
pstat Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
pw Add a -H <fd>' option that is like -h <fd>', but accepts an already 2004-01-11 18:28:08 +00:00
pwd_mkdb Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
quot Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
quotaon Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
rarpd Make it clear that -a flag and interface parameter are mutually exclusive 2003-08-16 22:23:16 +00:00
raycontrol update for 802.11 support 2003-06-28 06:19:37 +00:00
repquota Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
rip6query
rmt There is no need to #include <sgtty.h> 2003-09-04 01:33:43 +00:00
route6d - need_trigger/idx should be u_int, not ssize_t. 2003-11-14 17:16:50 +00:00
rpc.lockd Make rpc.lockd bind to a reserved port, since there are NFS clients 2004-03-04 15:52:28 +00:00
rpc.statd Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2 2003-10-26 06:14:10 +00:00
rpc.umntall Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2 2003-10-26 06:14:10 +00:00
rpc.yppasswdd Fix yppasswdproc_update_master_1_svc() too. 2003-06-15 21:24:45 +00:00
rpc.ypupdated Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
rpc.ypxfrd Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
rpcbind Don't pass NULL as an integer. 2003-10-29 09:31:41 +00:00
rrenumd fix comment. 2003-10-26 10:30:17 +00:00
rtadvd fixed memory leak. 2003-09-20 09:41:13 +00:00
rtprio add FBSDID 2003-07-06 12:44:11 +00:00
rtsold -DSMALL will remove the need of dump.c (for rtsol) 2004-01-14 17:59:38 +00:00
rwhod use a list to enumerate options 2003-07-06 12:27:52 +00:00
sa Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
sade The "bin" distribution was renamed to "base" in CURRENT. 2004-02-07 00:34:11 +00:00
sendmail Don't check for the existance of src/crypto/ for building items that 2003-07-24 18:30:25 +00:00
setfmac Add "-q" argument to setfmac and setfsmac to allow the patient but 2004-02-18 05:40:15 +00:00
setkey Initial import of RFC 2385 (TCP-MD5) digest support. 2004-02-11 04:34:34 +00:00
setpmac mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
sgsc
sicontrol
sliplogin Add section number to .Xr 2003-06-08 14:33:04 +00:00
slstat Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
spkrtest
spray
stallion
sysinstall The "bin" distribution was renamed to "base" in CURRENT. 2004-02-07 00:34:11 +00:00
syslogd Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
tcpdchk Turn on the extended syntax, which TCP_wrappers has by default, as 2003-07-24 19:58:56 +00:00
tcpdmatch Drop MAINTAINER bits from here. 2003-06-04 15:58:03 +00:00
tcpdump Don't check for the existance of src/crypto/ for building items that 2003-07-24 18:30:25 +00:00
timed Fix typo, s/transmitts/transmits/ 2004-02-04 21:59:29 +00:00
traceroute
traceroute6 - setsockopt/sysctl takes int, not u_long. 2003-11-12 18:56:59 +00:00
trpt Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
tzsetup Cosmetic fix: a message was mixed with a dialog box border line. 2003-11-28 20:44:25 +00:00
ugidfw Add an 'add' command to ugidfw(8), which permits specifying a new 2004-02-25 03:59:56 +00:00
usbd fix spelling of ATTACH 2003-10-25 22:03:10 +00:00
usbdevs
vidcontrol Propagate ioctl() failure to exit status 2003-09-18 16:20:32 +00:00
vipw Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
vnconfig
watch Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
watchdogd Rename the WATCHDOG option to SW_WATCHDOG and make it use the 2004-02-28 20:56:35 +00:00
wicontrol Typos fixing: 2003-10-05 12:09:31 +00:00
wlconfig This is i386-only. 2004-01-21 14:01:29 +00:00
yp_mkdb Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
ypbind Correct a spelling error. 2003-06-04 19:24:24 +00:00
yppoll Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
yppush Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
ypserv Eliminated two dozens of superfluous cats and two r-cats (sorry, Jordan). 2003-06-13 16:13:28 +00:00
ypset Fix a typo that stopped ypset's -h option from working with a 2004-02-09 00:10:18 +00:00
zic style.Makefile(5) 2003-04-04 17:49:21 +00:00
zzz add section name 2003-08-16 19:59:53 +00:00
Makefile Move the checks for whether or not to build pppctl to 2004-01-31 22:18:09 +00:00
Makefile.inc