NetBSD/usr.bin
kamil 77a1ad5f00 Switch the iconv(3) prototype to the POSIX conformant variation
Remove const from the 2nd argument.

const char ** and char ** are incompatible types and it was a cost to keep
the technically incompatible form for a more purist variation. NetBSD was
almost the last alive OS to still keep the const argument (known leftovers:
Minix and Illumos).

Keep the const form for the internal purposes inside citrus and rump.

Address the build breakage fallout in the same change.

There are no ABI changes.

Change accepted by core@.
2019-10-24 18:17:14 +00:00
..
apply Be more precise. 2016-03-14 09:53:37 +00:00
apropos
asa Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
at PR bin/53986 from Christian Weisgerber 2019-02-16 17:56:57 +00:00
audio Sort options (no-argument options before ones demanding arguments). 2019-05-09 09:37:11 +00:00
audiocfg Revert about index number changes. It breaks its usage and output format. 2019-08-24 07:39:42 +00:00
banner
base64 Provide MacOS/X compatible flags (where possible) 2018-07-25 03:45:34 +00:00
basename compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
bdes Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
biff Update SYNOPSIS to reflect that y and n options are mutually exclusive. 2016-12-20 08:21:32 +00:00
bthset use correct offset for channel in SDP record 2016-03-06 21:12:07 +00:00
btkey
btpin introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
bzip2
bzip2recover
c11 Minor improvements, add more markup. 2016-10-03 08:20:12 +00:00
c89 this are our's not gnu 2016-01-14 04:27:26 +00:00
c99 this are our's not gnu 2016-01-14 04:27:26 +00:00
cal Remove superfluous Pp. 2018-05-29 08:37:33 +00:00
calendar Add Ted Nelson's birthday 2019-10-14 17:30:17 +00:00
cap_mkdb
cdplay
checknr
chflags
chpass Specify SANITIZER_RENAME_SYMBOL in chpass 2018-06-25 18:05:25 +00:00
cksum Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
cleantags
cmp Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
col
colcrt - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
colrm
column Move information about exit values from DESCRIPTION to EXIT STATUS section. 2016-10-02 21:06:18 +00:00
comm
compress Add EXIT STATUS section. Use Ex. New sentence, new line. 2017-07-04 06:58:55 +00:00
config introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
crunch introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
csplit Compare return value of fputs(3) with EOF instead of 0. 2017-07-30 23:02:53 +00:00
ctags - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
cut
cvslatest introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
db
dc dc was in v1 2019-09-01 18:15:57 +00:00
deroff - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
dirname
du du was in v1 2019-09-01 18:18:42 +00:00
eject Drop main() prototype. 2016-09-05 00:40:28 +00:00
elf2aout Sort options in usage. 2019-05-19 09:14:13 +00:00
elf2ecoff fix printf format 2017-02-24 17:19:14 +00:00
env
error can't happen, but gcc can't figure it out. 2019-10-13 20:43:25 +00:00
expand Drop main() prototype. 2016-09-05 00:40:28 +00:00
extattr
false
fdformat Drop main() prototype. 2016-09-05 00:40:28 +00:00
fgen Use more macros. 2017-07-04 07:07:23 +00:00
fincore
find Inspired by PR pkg/53543 2018-09-04 15:16:15 +00:00
finger Instead of saying "The finger displays information..." say "The finger utility" 2016-12-22 12:39:40 +00:00
flock fix a bug gcc 8 picked up: use ~LOCK_NB to look for LOCK_UN, 2019-10-04 16:27:00 +00:00
fmt Wse wide functions to avoid file corruption. Q+D because it does not 2017-10-13 00:11:56 +00:00
fold
fpr Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
from
fsplit
fstat introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
ftp trim down error checking if we are small. 2019-06-22 23:40:53 +00:00
gcore compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
genassym
gencat Use An -nosplit. Use Mt. Fix some mandoc lint. 2018-07-28 08:03:41 +00:00
getaddrinfo
getconf
getent Remove superfluous Tn. 2017-10-23 01:06:05 +00:00
getopt
gettext
gprof Restore the MKGROFF=bo MKCXX=yes build 2018-06-11 14:18:16 +00:00
grep Fix asan heap buffer overflow. from enh at google. 2019-04-05 13:34:41 +00:00
gzip use the data size in case stdout was a pipe (M. Levinson) 2018-11-11 01:42:36 +00:00
head Add EXIT STATUS section. Use Ex. 2017-07-04 06:59:34 +00:00
hesinfo Drop main() prototype. 2016-09-05 00:40:28 +00:00
hexdump introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
iconv Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
id Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
indent use stdarg, annotate function as __printflike and fix broken formats. 2019-10-19 15:44:31 +00:00
infocmp _ti_database now includes the database extension so don't duplicate it. 2017-05-16 09:21:54 +00:00
innetgr simplify __dead usage 2016-09-03 05:50:06 +00:00
ipcrm
ipcs
join Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
jot - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
kdump kdump(1): Symbolic printing for MALLOC_OPTIONS="U". 2019-07-23 01:54:51 +00:00
klist
ktrace
ktruss Add a new member to struct vfsstat and grow the unused members 2019-09-22 22:59:37 +00:00
lam Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
last
lastcomm
ldd don't build ldd64 support if !MKCOMPAT and mips64. 2019-02-04 00:05:20 +00:00
leave
locale
locate fool gcc with strncpy. 2019-10-13 19:39:15 +00:00
lock Drop main() prototype. 2016-09-05 00:40:28 +00:00
logger
login introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
logname Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
look Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
lorder
m4 Use correct printf format for (struct input_file *)->lineno 2019-03-26 23:31:45 +00:00
machine
mail Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
make introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
man introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
menuc Use OPT_NOMENU instead of -1 2019-06-23 22:48:15 +00:00
mesg mesg was in v1 2019-09-01 18:26:01 +00:00
midiplay make a fallthru comment GCC7 compatible. 2019-02-01 08:37:21 +00:00
midirecord avoid assert() and simply return errors. 2017-06-03 21:31:14 +00:00
mixerctl Generate usage error for bad usage, before attempting any other operations. 2017-02-23 14:09:11 +00:00
mkcsmapper Infile is also optional. 2016-06-28 09:23:09 +00:00
mkdep deconst -> __UNCONST to avoid null pointer arithmetic 2018-05-23 21:20:20 +00:00
mkesdb Sync usage with program. Add RCS Id. Increase column width. Fix macro usage. Improve wording. 2016-06-28 09:25:21 +00:00
mkfifo Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
mklocale use strlcpy instead of strncpy. 2019-10-13 21:12:32 +00:00
mkstr Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
mktemp Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
mkubootimage Fix tools build 2018-02-04 17:33:34 +00:00
moduli use BN_is_prime_ex 2018-02-06 19:32:49 +00:00
msgc Do the fmtcheck for both message lookups to satisfy format string 2019-06-25 21:09:33 +00:00
msgs introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
nbperf Fix typo 2017-06-20 15:50:04 +00:00
nbsvtool mark old compat functions. 2018-02-06 20:15:39 +00:00
nc Skip options which rely on crypto support in getopt() argument list, if we're 2019-10-03 01:15:19 +00:00
netgroup simplify __dead usage 2016-09-03 05:58:30 +00:00
netstat introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
newgrp Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
newsyslog convert HAVE_GCC == 7 to HAVE_GCC >= 7. 2019-09-29 23:44:58 +00:00
nfsstat
nice
nl
nohup
pagesize
passwd add LIBKRB5_LDADD/LIBKRB5_DPADD and their static counterparts 2018-02-25 00:16:48 +00:00
paste
patch Keep things portable (requested by joerg) by not depending on reallocarr 2018-06-18 18:33:31 +00:00
pathchk
pkill Sort SEE ALSO. 2018-12-04 08:01:35 +00:00
pmap Expose struct namecache. 2019-09-13 13:56:04 +00:00
pr Document history 2019-09-01 18:31:37 +00:00
printenv
printf Amend the previous change: we can have (almost) the best of both 2019-07-22 17:34:31 +00:00
progress
pwait The proper way to validate a condition that's expected to be true is 2017-07-30 20:37:35 +00:00
pwhash adding argon2 support to libcrypt. argon2 user authentication now 2019-10-21 02:36:48 +00:00
qsubst Use Nm to refer the program name. 2017-02-22 14:01:40 +00:00
quota introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
radioctl
rdist introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
renice
rev
revoke
rfcomm_sppd fix offset/indent of list 2017-12-21 08:59:27 +00:00
rlogin msg: 2019-10-04 09:01:59 +00:00
rpcgen introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rpcinfo introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rs - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
rsh Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
rump_allserver With the removal of HAVE_REGISTER_T from rumpuser_port.h, _KERNTYPES does not 2017-05-11 04:33:14 +00:00
rump_dhcpclient Remove more _KERNTYPES definitions in rump components. 2017-05-11 13:20:02 +00:00
rump_halt Remove more _KERNTYPES definitions in rump components. 2017-05-11 13:20:02 +00:00
rump_server Deal with fallout from the addition of 2019-06-01 06:59:17 +00:00
rump_wmd
rup introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
ruptime
rusers introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rwall introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rwho
script
sdiff Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
sdpquery Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
sed Recognize \oOOO \dDD \xXX plus the other regular 'C' backslash escapes like 2019-10-05 20:23:55 +00:00
seq - Default terminator to \n 2018-12-17 20:10:51 +00:00
shar Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
shlock
shmif_dumpbus
showmount introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
shuffle Fix misuse of arc4random by using arc4random_uniform. 2017-02-06 02:26:44 +00:00
skey Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
skeyinfo
skeyinit
sockstat sockstat: Add indirection of symbols to remove clash with sanitizers 2019-08-18 04:13:24 +00:00
soelim Drop main() prototype. 2016-09-05 00:40:28 +00:00
sort introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
sortinfo Free the buffer allocated by getline(3). 2017-04-30 13:45:06 +00:00
spell
split needs <sys/stat.h> 2017-01-10 21:14:13 +00:00
stat adjust fallthru comment. 2019-10-04 11:12:16 +00:00
su Remove superfluous Ns. 2019-09-01 19:12:16 +00:00
sys_info Also report versions of tcpdump, libpcap, and wpa_supplicant 2017-09-28 18:08:04 +00:00
systat introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
tabs compare pointers with NULL not '\0'. 2019-02-01 08:29:03 +00:00
tail [tail] Fix type of 'len' 2018-03-06 03:33:26 +00:00
talk
tcopy
tee Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
telnet introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
tftp turn off various warnings for various things: 2019-10-04 09:47:27 +00:00
tic unistd.h for close. 2017-10-02 21:53:55 +00:00
time Simplify. 2017-07-15 14:40:36 +00:00
timeout typo 2016-10-13 06:22:26 +00:00
tip check speed argument conversion (Thierry Laronde) 2019-08-18 14:16:02 +00:00
touch Update the description of the -t option to bring it in sync with IEEE 1003.1 -2008. 2016-12-24 15:49:18 +00:00
tput
tr tr.1: add a "see also" xref to ctype(3) (to align with an inline 2019-05-29 11:27:34 +00:00
true
tset Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
tsort
tty Document history 2019-09-01 18:41:14 +00:00
ul - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
uname
unexpand Deduplicate some code I'd duplicated, shorten a couple of staircases, 2019-09-13 17:32:29 +00:00
unifdef introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
uniq remove unused label 2019-04-23 17:35:10 +00:00
units s/ the the / the / 2019-03-08 08:12:39 +00:00
unvis
unzip Explicitly link against libpthread and liblzma to make static linking 2019-07-28 12:44:36 +00:00
usbhidaction Add an optional '-p pidfile' parameter. 2018-05-15 01:41:29 +00:00
usbhidctl Purge an ancient email address, use dsainty@NetBSD.org instead 2019-09-22 07:28:35 +00:00
users Drop main() prototype. 2016-09-05 00:40:28 +00:00
utoppya introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
uudecode
uuencode When input is not a multiple of three bytes in size, pad null 2019-03-04 05:37:08 +00:00
uuidgen
vacation Sort SEE ALSO. 2019-05-06 06:56:07 +00:00
vgrind - add or adjust /* FALLTHROUGH */ where appropriate 2019-02-03 03:19:25 +00:00
videoctl
vis
vmstat Expose struct namecache. 2019-09-13 13:56:04 +00:00
vndcompress Clarify compile-time and run-time arithmetic safety assertions. 2017-07-29 21:04:07 +00:00
w Document the source of load average figures. 2018-12-06 19:15:35 +00:00
wall introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
wc Document history 2019-09-01 18:44:06 +00:00
what Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
whatis
whereis
who use memcpy() for strings that are not C strings. 2019-10-05 23:35:57 +00:00
whois
write write was in v1 2019-09-01 18:48:01 +00:00
xargs
xinstall Move __MKTEMP_OK up earlier so it has an actual impact. Reduces the 2016-05-31 06:55:02 +00:00
xlint Fix decorators for __thread, add _Thread_local 2019-09-05 20:12:11 +00:00
xstr .Pp before .Bd is redundant. 2019-01-13 16:48:51 +00:00
yes
ypcat
ypmatch
ypwhich Remove spurious error(1) inserted compiler error message comments. 2017-08-11 20:32:34 +00:00
Makefile Tiny base64 encoder/decoder command patterned after the linux and the macosx 2018-07-24 15:26:16 +00:00
Makefile.inc