1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/libexec
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
..
atrun mdoc(7) police: Deal with self-xrefs. 2002-12-24 13:41:48 +00:00
bootpd Add the '-h hostname' to usage(), too. 2004-02-13 09:26:54 +00:00
comsat
fingerd
ftp-proxy Add skeleton build dirs for pf userland: 2004-02-28 21:50:50 +00:00
ftpd NULL looks better than (char *)0 unless we're passing 2004-02-07 14:59:11 +00:00
getNAME
getty Prototype defttymode() instead of just declaring it. 2003-07-18 16:25:55 +00:00
lukemftpd - Added the NOPAM knob, for consistency with ${.CURDIR}/../ftpd. 2004-02-04 10:05:21 +00:00
mail.local Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
makekey Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
mknetid Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
named-xfer More correctly spell "-static" as "NOSHARED?=YES" 2003-06-17 20:07:49 +00:00
pppoed Replace all uses of the old netgraph constants NG_*LEN by the new 2003-11-15 15:26:35 +00:00
pt_chown Implement POSIX grantpt(3) functionality, and add a pt_chown utility (akin 2003-01-02 20:44:41 +00:00
rbootd
revnetgroup
rexecd Add section number to .Xr 2003-06-08 12:40:50 +00:00
rlogind Fix a sign/unsigned comparison. 2003-05-04 00:43:39 +00:00
rpc.rquotad Eliminate last three uses of varargs.h in the tree. These three files 2003-09-01 04:12:18 +00:00
rpc.rstatd Put libdevstat before libkvm, because the former depends on the latter. 2004-02-04 10:20:43 +00:00
rpc.rusersd Include stdlib.h to get exit()'s prototype. 2003-06-02 02:35:18 +00:00
rpc.rwalld Removed unnecessary dependencies on librpcsvc. 2004-02-04 11:59:08 +00:00
rpc.sprayd
rshd Removed duplicate -lutil. 2004-02-02 18:23:18 +00:00
rtld-aout Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
rtld-elf Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
save-entropy Mark bits that do not require an object directory as such. 2003-04-01 12:37:54 +00:00
smrsh Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
talkd Use the new style struct sockaddr instead of osockaddr in system calls 2003-09-28 09:16:09 +00:00
tcpd Drop MAINTAINER Bit. Not needed any more. 2003-06-04 15:59:13 +00:00
telnetd Make sure that a "make release" (more accurately the bit that makes 2003-07-24 17:19:15 +00:00
tftpd Fix a bug which causes wrong filename being written into the syslog 2003-11-20 13:36:31 +00:00
ypxfr Don't pass a pointer to a 'long' to a function that expects an 'int *'. 2004-02-16 10:03:44 +00:00
Makefile - Build things in pure dictionary order (see sort(1)). 2004-01-16 15:23:19 +00:00
Makefile.inc