freebsd-src/usr.sbin
Xin LI 4c1f1c62ca Cleanup usr.sbin/fd* so they can compile under WARNS=6.
fdcontrol/fdcontrol.c:
	- Add const constraint to an intermediate value
	  which is not supposed to be changed elsewhere.
fdread/fdread.c:
	- Use _devname in favor of devname to avoid name
	  conflicit.
	- -1 is less than any positive number so in order
	  to get the block to function, we should get the
	  block a little earlier.
	- Cast to remove signed when we are sure that a
	  return value is positive, or is compared with
	  an positive number (tracknumber of a floppy
	  disk is not likely to have UINT_MAX/2 anyway)
fdread/fdutil.c:
	- Use more specific initializer
fdwrite/fdwrite.c:
	- Use static on format_track since it's not
	  referenced in other places.
	- Use const char* to represent string constant.

Bump WARNS accordingly.
2005-01-08 15:46:06 +00:00
..
ac
accton Per letter dated July 22, 1999, delete clause 3 from code directly 2004-08-07 04:19:37 +00:00
acpi Catch up with the kernel and set any global variables we are using, in 2005-01-03 04:14:05 +00:00
adduser In fullpath_from_shell(), move the nologin detection before the cat | while 2004-09-23 13:09:42 +00:00
amd Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set. 2004-11-13 20:40:32 +00:00
ancontrol Allow the -f argument to work. 2004-11-03 20:45:52 +00:00
apm o Remove duplicate includes. 2005-01-01 22:07:06 +00:00
apmd
arlcontrol
arp For VLAN interfaces, print MAC addresses properly. 2004-12-24 22:16:38 +00:00
asf
atm
authpf
bluetooth Teach sdpd(8) about 32-bit and 128-bit uuid's. 2005-01-05 18:37:37 +00:00
boot0cfg Open device R/W for ioctl modifications. 2004-12-18 11:04:10 +00:00
boot98cfg
bootparamd Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
bsnmpd NOATM -> NO_ATM 2004-12-21 09:08:06 +00:00
btxld
burncd The "fixate" command no longer terminates command processing, 2004-12-21 14:57:37 +00:00
cdcontrol
chkgrp
chown Per letter dated July 22, 1999, delete clause 3 from code directly 2004-08-07 04:19:37 +00:00
chroot Per letter dated July 22, 1999, delete clause 3 from code directly 2004-08-07 04:19:37 +00:00
ckdist
config The ioconf.c is no longer generated. 2004-12-16 09:52:41 +00:00
cron Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar 2004-11-03 18:01:21 +00:00
crunch Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
ctm Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
daemon mdoc(7) fixes. 2004-07-07 19:57:16 +00:00
dconschat Invalidate dcons buffer address if the magic is wrong. 2004-09-26 12:46:47 +00:00
devinfo
digictl
diskinfo Add -c option that calculates the overhead of read I/O ops. 2004-11-09 12:28:41 +00:00
dnssec-keygen Don't expose BIND libraries and their headers to the public by default, 2004-09-24 13:42:00 +00:00
dnssec-signzone Don't expose BIND libraries and their headers to the public by default, 2004-09-24 13:42:00 +00:00
editmap
edquota Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
eeprom Save on one variable in ofwo_action(). Leftover from an older version of 2004-08-15 20:18:54 +00:00
elf2exe
extattr
extattrctl
faithd
fdcontrol Cleanup usr.sbin/fd* so they can compile under WARNS=6. 2005-01-08 15:46:06 +00:00
fdformat Cleanup usr.sbin/fd* so they can compile under WARNS=6. 2005-01-08 15:46:06 +00:00
fdread Cleanup usr.sbin/fd* so they can compile under WARNS=6. 2005-01-08 15:46:06 +00:00
fdwrite Cleanup usr.sbin/fd* so they can compile under WARNS=6. 2005-01-08 15:46:06 +00:00
flowctl Man page for flowctl utility. 2004-09-17 22:37:45 +00:00
fwcontrol - Xref fwip(4) 2004-12-14 20:44:37 +00:00
getfmac
getpmac
gstat Add forgotten -a to the usage() message. 2005-01-05 18:41:54 +00:00
i4b Replaced COPTS by equivalent CFLAGS. 2004-08-13 14:21:49 +00:00
ifmcstat Remove unused variable and clamp down with WARNS=2 2004-09-13 08:14:55 +00:00
inetd Prefer C99's __func__ over GCC's __FUNCTION__. 2004-09-26 13:47:25 +00:00
iostat
ip6addrctl
ipftest
ipresend
ipsend
iptest
IPXrouted Per letter dated July 22, 1999, delete clause 3 from code directly 2004-08-07 04:19:37 +00:00
jail Initialize lcap and pwd to NULL. This allows a WARNS=6 clean build, 2004-11-17 10:01:48 +00:00
jexec
jls
kbdcontrol Change the USB keyboard example to use /dev/ukbd0 instead of /dev/kbd1. 2005-01-08 06:02:56 +00:00
kbdmap
kernbb Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
keyserv Join the 21st century: Cryptography is no longer an optional component 2004-08-06 07:27:08 +00:00
kgmon Set WARNS level to 2. 2004-08-30 03:12:49 +00:00
kgzip Revert.. 2004-09-01 20:42:38 +00:00
kldxref Explicitly pass in the relocation base and data offset into ef_reloc() 2004-08-28 19:31:10 +00:00
lastlogin
lpr Fix so all parts of lpd, lpc, lpq, and lprm will use the same algorithm 2004-12-31 00:36:28 +00:00
lptcontrol General overhaul: 2004-10-01 20:04:20 +00:00
mailstats
mailwrapper Replaced afterinstall: with FILES. 2004-10-18 17:20:29 +00:00
makemap
manctl
memcontrol WARNS=6 cleanup. This includes: 2005-01-07 12:06:30 +00:00
mergemaster
mixer
mld6query
mlxcontrol Prefer C99's __func__ over GCC's __FUNCTION__. 2004-10-02 16:42:33 +00:00
mount_nwfs
mount_portalfs Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
mount_smbfs NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
mountd Also do not send junk mount arguments when removing exports. 2004-12-11 12:51:20 +00:00
moused Document the -V and -U options in usage(). 2005-01-06 08:38:29 +00:00
mptable
mrouted Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
mtest
mtree Remove extra "*/". 2004-08-07 10:04:29 +00:00
named Previously I thought I was seeing a failure to install the .5 man pages 2004-09-27 03:55:03 +00:00
named-checkconf Fix up the man file installation for the new BIND 9 sources: 2004-09-26 06:36:11 +00:00
named-checkzone Don't expose BIND libraries and their headers to the public by default, 2004-09-24 13:42:00 +00:00
named.reload Switch from BIND 8 to BIND 9. 2004-09-21 19:01:48 +00:00
ndiscvt Get rid of obsolete MAN[0-9] syntax. 2004-09-26 09:25:03 +00:00
ndp Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
newsyslog Because the `permission' field in conf_entry is intended to be used as 2005-01-04 02:24:01 +00:00
nfsd ANSI'fy nfsd(8) and some minor changes to make it WARNS=6 clean. 2004-11-06 18:15:44 +00:00
ngctl Increase a socket receive buffer size. This helps 'ngctl list' 2004-11-25 09:27:56 +00:00
nghook
nologin Use __unused macro instead of a bare void for main(). 2005-01-04 20:07:12 +00:00
ntp NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
ofwdump
pccard NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
pciconf Revert unintended commit that came in with 3rd clause removal 2004-08-07 16:36:46 +00:00
pcvt Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
periodic
pkg_install Update the INDEX file to INDEX-6 2005-01-04 17:13:16 +00:00
pnpinfo
ppp NOPAM -> NO_PAM 2004-12-21 12:49:24 +00:00
pppctl Handle select() returning -1/EINTR - fairly common in these KSE days. 2004-12-13 14:50:13 +00:00
pppd NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
pppstats
praliases
procctl
pstat Don't include sys/user.h merely for its side-effect of recursively 2004-11-27 06:51:39 +00:00
pw Don't rely on NULL being a pointer, add a cast before passing it to a variadic 2004-10-03 14:40:27 +00:00
pwd_mkdb Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
quot
quotaon Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
rarpd Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
raycontrol
repquota Allocate an additional white space in a username column for 2004-12-19 18:02:45 +00:00
rip6query
rmt Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
rndc Previously I thought I was seeing a failure to install the .5 man pages 2004-09-27 03:55:03 +00:00
rndc-confgen Fix up the man file installation for the new BIND 9 sources: 2004-09-26 06:36:11 +00:00
route6d
rpc.lockd Userland change corresponding to the change in kernel/userland communication 2004-12-06 08:32:09 +00:00
rpc.statd
rpc.umntall
rpc.yppasswdd Utilize SCRIPTS. 2004-10-18 21:29:20 +00:00
rpc.ypupdated Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
rpc.ypxfrd
rpcbind Reflect that -h takes an argument and belatedly bump .Dd for addition of -h 2004-11-07 04:34:37 +00:00
rrenumd Prefer C99's __func__ over GCC's __FUNCTION__. 2004-10-02 16:42:33 +00:00
rtadvd removed compilation warning 2004-10-22 07:31:12 +00:00
rtprio
rtsold
rwhod Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
sa
sade Minor comment fix. 2005-01-07 04:07:48 +00:00
sendmail NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
setfmac
setkey
setpmac
sicontrol Get debugging macros from sivar.h 2004-10-02 18:51:37 +00:00
sliplogin Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar 2004-11-03 18:01:21 +00:00
slstat Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
smbmsg Get rid of obsolete MAN[0-9] syntax. 2004-09-26 09:25:03 +00:00
spkrtest
spray
sysinstall Minor comment fix. 2005-01-07 04:07:48 +00:00
syslogd Allow ':' and '%' in hostname specifications so that we can specify IPv6 2004-12-28 22:25:04 +00:00
tcpdchk NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
tcpdmatch NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
tcpdump NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
timed
traceroute NOIPSEC -> TRACEROUTE_NO_IPSEC 2004-12-21 12:44:20 +00:00
traceroute6 mdoc(7) fixes. 2004-07-07 19:57:16 +00:00
trpt Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
tzsetup Update wording regarding geography to match the man page and web site. 2004-08-10 05:34:23 +00:00
ugidfw Remove unnecessary include of vnode.h. 2004-10-21 11:22:07 +00:00
usbd Allow usbd to handle event notificatiosn where mor ethan one 2005-01-04 06:45:41 +00:00
usbdevs
vidcontrol
vipw Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
vnconfig Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
watch By default, the watch utility will attempt to open /dev/snp0, if 2004-08-10 01:49:46 +00:00
watchdogd Disable memory locking that could keep watchdogd from deadlocking itself 2004-07-28 22:13:04 +00:00
wicontrol Remove an extra semicolon after a function. 2004-10-17 21:29:53 +00:00
wlconfig
yp_mkdb
ypbind Remove definition of struct dom_binding, it's non-standard C code and 2004-10-17 19:33:33 +00:00
yppoll
yppush Remove definition of struct dom_binding, it's non-standard C code and 2004-10-17 19:33:33 +00:00
ypserv Utilize FILES, SCRIPTS, and SYMLINKS. While here, fixed a bug in 2004-10-18 21:42:15 +00:00
ypset Remove definition of struct dom_binding, it's non-standard C code and 2004-10-17 19:33:33 +00:00
zic Make the -m option actually work. 2004-10-19 20:30:09 +00:00
zzz
Makefile NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
Makefile.inc