..
apply
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
apropos
Add support for -S and -s option, which limit the results to a specific
2009-05-08 12:48:43 +00:00
asa
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
at
Use __dead
2011-08-29 14:24:03 +00:00
audio
PR/45384: Henning Petersen: Swapped arguments in lseek
2011-09-21 14:32:14 +00:00
audiocfg
return an error if testing fails, and dump the device info before running tests
2010-09-03 19:20:37 +00:00
awk
remove most of the remaining HAVE_GCC tests that are always true in
2011-06-20 07:43:56 +00:00
banner
Use __dead
2011-08-29 14:24:03 +00:00
basename
Use __dead
2011-08-29 14:24:03 +00:00
bdes
Use .%U instead of .%O for URLs.
2010-01-15 19:39:10 +00:00
biff
Use __dead
2011-08-29 14:24:03 +00:00
bthset
static + __dead
2011-08-29 13:47:16 +00:00
btkey
Use __dead
2011-08-29 14:24:03 +00:00
btpin
static + __dead
2011-08-29 13:47:16 +00:00
bzip2
bzip2recover
cal
static + __dead
2011-08-29 13:55:22 +00:00
calendar
Add towns to dmr's dates.
2011-10-13 07:44:27 +00:00
cap_mkdb
usage() is not unused, it is dead
2011-08-29 13:56:17 +00:00
cdplay
If the ioctl to play tracks returned EINVAL, switch to digital mode and
2011-11-26 23:20:41 +00:00
checknr
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
chflags
static + __dead
2011-08-29 14:05:08 +00:00
chpass
NULL does not need a cast
2011-08-31 16:24:54 +00:00
cksum
static + __dead
2011-08-29 14:12:29 +00:00
cleantags
Fix Dt argument. Correct date. Some wording improvements.
2011-10-08 20:19:10 +00:00
cmp
Remove unused header. From Henning Petersen in PR 45658.
2011-11-28 10:10:10 +00:00
col
NULL does not need a cast
2011-08-31 16:24:54 +00:00
colcrt
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
colrm
static + __dead
2011-08-30 21:33:28 +00:00
column
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
comm
static + __dead
2011-08-30 21:33:28 +00:00
compress
Use __printflike and __dead
2011-08-30 23:08:05 +00:00
config
When making the symlink for machine -> arch/foo/include
2011-07-09 08:01:58 +00:00
crunch
static + __dead
2011-08-30 23:10:45 +00:00
csplit
static + __dead
2011-08-31 13:35:46 +00:00
ctags
remove most of the remaining HAVE_GCC tests that are always true in
2011-06-20 07:43:56 +00:00
cut
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
db
static + __dead
2011-09-01 13:25:02 +00:00
deroff
Use __dead. Be a bit more consistent about static.__dead. Be a bit more
2011-08-31 13:38:19 +00:00
dirname
Use __dead
2011-09-16 15:39:25 +00:00
du
static + __dead
2011-09-01 13:37:33 +00:00
eject
don't bother to connect to amd unless necessary. PR/42207
2010-06-23 18:07:59 +00:00
elf2aout
Make this cross-tool ready. Mostly taken from elf2ecoff(1).
2011-07-10 05:07:48 +00:00
elf2ecoff
misc knf cleanup.
2011-08-23 20:27:22 +00:00
env
minor KNF nits.
2010-11-16 02:53:49 +00:00
error
avoid "... dutch" being interpreted as a pascal continuation message, and
2011-08-17 13:11:22 +00:00
expand
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
extattr
Use __dead
2011-09-16 15:39:25 +00:00
false
fdformat
build elf2aout and fdformat on macppc64 (for now, it's a lot easier than
2010-03-30 07:26:23 +00:00
fgen
static + __dead
2011-09-01 13:37:33 +00:00
find
Updates to the find(1) man page, based on PR 45381 from Greg Woods,
2011-09-24 13:45:43 +00:00
finger
Fix WARNS=4 issues (-Wshadow, -Wcast-qual, -Wsign-compare)
2009-04-12 06:18:54 +00:00
fmt
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
fold
Add argument in options table. Resize to fit.
2011-09-15 09:40:57 +00:00
fpr
Use static, change deep if / else if / ... chains to switch(), apply
2011-09-04 20:26:17 +00:00
from
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-21 14:19:20 +00:00
fsplit
Use __dead
2011-09-16 15:39:25 +00:00
fstat
fix rdev reporting for UFS2 and ext2fs.
2011-10-09 21:16:00 +00:00
ftp
Use __dead
2011-09-16 15:39:25 +00:00
gcore
Convert TNF licenses to new 2 clause variant
2008-04-30 13:10:46 +00:00
genassym
Use __builtin_offsetof if __GNUC__ >= 4
2011-07-05 05:19:02 +00:00
gencat
PR/45385: Henning Petersen: Swapped arguments in lseek
2011-09-21 14:33:35 +00:00
getconf
Xref limits(3).
2011-08-09 18:11:37 +00:00
getent
More standard Dt/Nm.
2011-10-11 20:39:40 +00:00
getopt
punctuation
2010-01-24 20:13:28 +00:00
gprof
grep
Use __dead
2011-09-16 15:39:25 +00:00
gzip
add copyright
2011-09-30 01:32:21 +00:00
head
Just ignore the errno of strtoimax, it doesn't provide much value.
2010-03-31 21:55:23 +00:00
hesinfo
hexdump
static + __dead
2011-09-04 20:27:05 +00:00
iconv
annotate for lint
2011-10-31 13:27:51 +00:00
id
Use __dead
2011-09-16 15:39:25 +00:00
indent
Spell out parenthesis. From Ryo HAYASAKA in PR 44372.
2011-01-12 06:17:52 +00:00
infocmp
Fix spelling, mark up NULL. Closes PR 44381 by Ryo HAYASAKA.
2011-01-14 14:21:36 +00:00
innetgr
Convert TNF licenses to new 2 clause variant
2008-04-30 13:10:46 +00:00
ipcrm
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
ipcs
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
join
static + __dead
2011-09-04 20:27:05 +00:00
jot
document non-literal format strings
2011-08-16 10:35:03 +00:00
kdump
don't limit sockets to sizeof(sizeof sockaddr_storage). We can create valid
2011-09-28 16:28:27 +00:00
klist
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
ktrace
Use __dead
2011-09-16 15:39:25 +00:00
ktruss
avoid an uninitialised variable warning that shouldn't normally happen
2011-07-01 02:34:50 +00:00
lam
ANSIfy + static + __dead
2011-09-04 20:28:09 +00:00
last
patch from from Snader_LB via IRC.
2011-10-19 00:27:40 +00:00
lastcomm
fix sign-compare issue
2009-04-12 13:08:31 +00:00
ldd
dependant -> dependent
2011-06-30 20:09:15 +00:00
leave
Use __dead
2011-09-16 15:39:25 +00:00
lex
Conditionalize the yyinput/input() function definition the same way
2009-12-15 22:46:04 +00:00
locale
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
locate
ANSIfy + static + __dead
2011-09-04 20:28:09 +00:00
lock
fix time_t printf format.
2008-12-29 01:26:46 +00:00
logger
static + __dead
2011-09-04 20:28:59 +00:00
login
NULL does not need a cast
2011-08-31 16:24:54 +00:00
logname
ANSIfy + static + __dead
2011-09-04 20:29:12 +00:00
look
ANSIfy + static + __dead
2011-09-04 20:29:12 +00:00
lorder
m4
Move usage and onintr to make them static. Add __dead as needed.
2011-09-06 18:16:01 +00:00
machine
mail
Use __dead
2011-09-16 15:39:25 +00:00
make
Fix xref to the PSD; PR 45568 from Petri Laakso.
2011-11-13 18:18:35 +00:00
man
Refer to X11R7.
2011-10-07 10:52:31 +00:00
menuc
Mark __menu_initerror as dead in the output.
2011-09-06 18:16:38 +00:00
mesg
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
midiplay
- accept "midi0" as an alias for "0" to the -d flag
2011-11-25 01:39:47 +00:00
mixerctl
Resort sections to canonical order
2010-05-14 17:20:06 +00:00
mkcsmapper
Use __dead
2011-09-16 15:39:25 +00:00
mkdep
ANSIfy + static + __dead
2011-09-04 20:29:12 +00:00
mkesdb
Use __dead
2011-09-16 15:39:25 +00:00
mkfifo
ANSIfy + static + __dead
2011-09-04 20:29:12 +00:00
mklocale
1. split runetype_local.h -> runetype_file.h
2010-06-13 04:14:56 +00:00
mkstr
ANSIfy, sprinkle "const" in some obvious cases
2009-11-17 18:31:12 +00:00
mktemp
Fix typo.
2009-08-15 20:44:56 +00:00
mkubootimage
Sprinkle one more static and a bunch of consts.
2011-09-04 20:35:07 +00:00
moduli
static + __dead
2011-09-04 20:55:43 +00:00
msgc
Simplify markup.
2010-05-14 17:24:38 +00:00
msgs
NULL does not need a cast
2011-08-31 16:24:54 +00:00
nbperf
Add support for build as part of the toolchain. Add option for
2011-10-21 23:47:11 +00:00
nbsvtool
New sentence, new line.
2011-04-28 17:14:45 +00:00
netgroup
Convert TNF licenses to new 2 clause variant
2008-04-30 13:10:46 +00:00
netstat
Move RTF_ANNOUNCE flag so that it no longer conflicts with RTF_PROTO2.
2011-11-11 15:09:32 +00:00
newgrp
Use __dead
2011-09-16 15:39:25 +00:00
newsyslog
Reset ziptype on each line. Failure to do this caused any log file to
2009-08-21 08:20:19 +00:00
nfsstat
ANSIfy, static + __dead.
2011-09-06 18:19:58 +00:00
nice
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-21 14:19:20 +00:00
nl
- document non-literal format string
2011-08-16 12:00:46 +00:00
nohup
ANSIfy + __dead
2011-09-06 18:24:15 +00:00
nvi
document non-literal format strings.
2011-08-17 12:57:19 +00:00
pagesize
passwd
Use __dead
2011-09-16 15:39:25 +00:00
paste
static + __dead
2011-09-06 18:24:43 +00:00
patch
Consistently use __dead and __printflike.
2011-09-06 18:25:14 +00:00
pathchk
Use __dead
2011-09-16 15:39:25 +00:00
pkill
Fix SYNOPSIS; pkill accepts -l options since 3 years ago. `pattern' is
2010-12-07 09:00:23 +00:00
pmap
Move getuid() out of the loop, uid should not change behind our back. KNF.
2011-10-25 23:45:19 +00:00
pmc
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
pr
ANSIfy, static + __dead
2011-09-06 18:26:06 +00:00
printenv
static + __dead
2011-09-06 18:26:55 +00:00
printf
document non-literal format strings
2011-08-16 10:35:03 +00:00
progress
Use __dead
2011-09-16 15:39:25 +00:00
pwhash
Use __dead
2011-09-16 15:39:25 +00:00
qsubst
Userland now builds and uses terminfo instead of termcap.
2010-02-03 15:34:37 +00:00
quota
Adjust the quota-fetching code to allow more than two object types.
2011-11-30 16:12:32 +00:00
radioctl
static + __dead
2011-09-06 18:26:55 +00:00
rdist
Use __dead and __printflike.
2011-09-06 18:28:18 +00:00
renice
Fix markup.
2009-04-08 13:20:23 +00:00
rev
Use __dead
2011-09-16 15:39:25 +00:00
revoke
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
rfcomm_sppd
- use poll() instead of select()
2011-07-18 21:51:06 +00:00
rlogin
static + __dead
2011-09-06 18:28:35 +00:00
rpcgen
NULL does not need a cast
2011-08-31 16:24:54 +00:00
rpcinfo
Use __dead
2011-09-16 15:39:25 +00:00
rs
ANSIfy, static + __dead
2011-09-06 18:28:58 +00:00
rsh
static + __dead
2011-08-29 14:22:46 +00:00
rump_allserver
Use __dead
2011-09-16 15:39:25 +00:00
rump_dhcpclient
Use __dead
2011-09-16 15:39:25 +00:00
rump_halt
Use __dead
2011-09-16 15:39:25 +00:00
rump_server
Allow to specify -d hostpath offset,size with disklabel.
2011-02-04 20:06:23 +00:00
rup
Apply casts to cases where xdrproc_t is expected but is not
2011-08-30 17:06:20 +00:00
ruptime
ANSIfy, static + __dead
2011-09-06 18:28:58 +00:00
rusers
static + __dead
2011-09-06 18:29:35 +00:00
rwall
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
rwho
fix -Wsign-compare issue
2009-04-13 07:11:37 +00:00
script
static + __dead
2011-09-06 18:29:35 +00:00
sdiff
reinstate NULL cast by request, where the NULL was being passed as a vararg
2011-09-01 07:18:50 +00:00
sdpquery
Use __dead
2011-09-16 15:39:25 +00:00
sed
compare the sed we just build with the installed one instead of bogus
2011-11-12 03:15:05 +00:00
seq
document non literal string format
2011-08-17 13:19:09 +00:00
shar
shlock
Use pid_t directly. Apply static and __dead.
2011-09-06 18:30:38 +00:00
shmif_dumpbus
Use __dead
2011-09-16 15:39:25 +00:00
showmount
Use static and __dead.
2011-09-06 18:30:56 +00:00
shuffle
Use __dead
2011-09-16 15:39:25 +00:00
skey
Use __dead
2011-09-16 15:39:25 +00:00
skeyinfo
ANSIfy and sort includes
2009-09-05 06:15:24 +00:00
skeyinit
Fix -Wsign-compare issue
2009-04-14 09:53:08 +00:00
sockstat
Document that localsocket may be of type SOCK_SEQPACKET
2011-05-29 04:54:45 +00:00
soelim
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
sort
Use __dead
2011-09-16 15:39:25 +00:00
spell
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
split
Use __dead
2011-09-16 15:39:25 +00:00
stat
Use vis(3) encoding when a string format is modified by the '#' flag.
2011-09-22 20:23:55 +00:00
su
NULL does not need a cast
2011-08-31 16:24:54 +00:00
systat
Consistently use __dead and __printflike.
2011-09-06 18:31:44 +00:00
tabs
Use __dead
2011-09-16 15:39:25 +00:00
tail
minor knf, no functional change.
2011-09-03 10:59:10 +00:00
talk
ANSIfy + __dead
2011-09-06 18:32:03 +00:00
tcopy
ANSIfy + static + __dead
2011-09-06 18:32:26 +00:00
tee
Fix -Wcast-qual issues
2009-04-13 23:45:50 +00:00
telnet
remove casts
2011-10-07 16:30:17 +00:00
tftp
ansify, const, knf
2011-09-17 15:15:46 +00:00
tic
Replace fgetln(3) with the more standard getline(3)
2011-11-09 07:40:27 +00:00
time
Sort sections, use Aq, add comma in enumeration.
2011-11-09 19:42:27 +00:00
tip
Use __dead. Make a bunch of local functions static.
2011-09-06 18:33:01 +00:00
touch
ANSIfy, static + __dead
2011-09-06 18:33:18 +00:00
tpfmt
Sort sections, remove line that must have crept in here from ls(1).
2011-11-26 22:47:39 +00:00
tput
Ensure we only pass cap names of one or two characters to tgetstr
2011-10-04 12:23:14 +00:00
tr
revert previous; don't change the logic.
2011-09-08 12:00:26 +00:00
true
tset
Use tiparm instead of vtparm.
2011-10-03 12:32:15 +00:00
tsort
ANSIfy, static + __dead
2011-09-06 18:34:37 +00:00
tty
ANSIfy + __dead
2011-09-06 18:34:57 +00:00
ul
Userland now builds and uses terminfo instead of termcap.
2010-02-03 15:34:37 +00:00
uname
ANSIfy + __dead
2011-09-06 18:34:57 +00:00
unexpand
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
unifdef
Use __dead
2011-09-16 15:39:25 +00:00
uniq
Sync usage with man page.
2010-10-06 07:59:18 +00:00
units
ANSIfy, static + __dead
2011-09-06 18:35:41 +00:00
unvis
Make SYNOPSIS match usage.
2010-11-28 01:33:37 +00:00
unzip
error_count is unsigned, so use %ju
2011-09-06 18:43:41 +00:00
usbhidaction
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
usbhidctl
Use __dead
2011-09-16 15:39:25 +00:00
users
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-21 14:19:20 +00:00
utoppya
Sprinkle const. Use __dead.
2011-09-05 18:11:53 +00:00
uudecode
static + __dead
2011-09-06 18:44:26 +00:00
uuencode
Use __dead
2011-09-16 15:39:25 +00:00
uuidgen
Use __dead
2011-09-16 15:39:25 +00:00
vacation
s/the the/the/
2009-12-08 09:46:01 +00:00
vgrind
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
videoctl
Use __dead
2011-09-16 15:39:25 +00:00
vis
Fix typo in usage.
2009-02-11 06:42:31 +00:00
vmstat
use warn instead of perror.
2011-10-15 21:59:48 +00:00
vndcompress
Use static and __dead
2011-09-06 18:45:04 +00:00
w
Remove stale proc_compare code and use the shared one in libutil.
2011-10-21 02:26:09 +00:00
wall
static + __dead
2011-09-06 18:45:21 +00:00
wc
Use __dead
2011-09-16 15:39:25 +00:00
what
ANSIfy, static + __dead
2011-09-06 18:45:49 +00:00
whatis
static + __dead
2011-09-06 18:46:03 +00:00
whereis
No trailing whitespace
2010-04-05 16:13:58 +00:00
who
PR/41313: Chris Spiegel: getutentries() in src/usr.bin/who/utmpentry.c thinks
2009-05-01 14:26:10 +00:00
whois
fix non-literal string format
2011-08-17 13:57:12 +00:00
window
Use __printflike and __dead.
2011-09-06 18:46:21 +00:00
write
static + __dead
2011-09-06 18:46:35 +00:00
xargs
Talk more about NetBSD and less about FreeBSD. Sort sections.
2010-12-22 09:05:07 +00:00
xinstall
Use static and __dead.
2011-09-06 18:50:32 +00:00
xlint
Fix typo in comment.
2011-10-17 16:31:14 +00:00
xstr
Use __dead
2011-09-16 15:39:25 +00:00
yes
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00
ypcat
Sort options in SYNOPSIS.
2011-01-12 19:55:06 +00:00
ypmatch
Sync usage with man page.
2009-06-21 14:59:53 +00:00
ypwhich
Apply casts to cases where xdrproc_t is expected but is not
2011-08-30 17:06:20 +00:00
Makefile
descend into cleantags
2011-10-08 19:16:54 +00:00
Makefile.inc
Enable WARNS=4 by default for usr.bin, except for:
2009-04-14 22:15:16 +00:00