1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/lib
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
..
compat Update with the 4.9 pam modules, and add pam_opieaccess.so to the mix. 2003-12-07 03:02:27 +00:00
csu The <bsd.files.mk> API seems the best to use here. 2004-01-20 13:31:35 +00:00
libalias Mostly mechanical rework of libalias: 2004-01-17 10:52:21 +00:00
libarchive Correctly read SCHILY.nlink from pax-format archives. 2004-03-05 00:09:53 +00:00
libatm Fix a couple of potential buffer overflows. 2004-02-21 16:29:10 +00:00
libbind
libbluetooth Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
libbsnmp Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
libbz2
libc Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
libc_r style cleanup: Remove duplicate $FreeBSD$ tags. 2004-02-10 20:45:28 +00:00
libcalendar
libcam Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
libcom_err
libcompat
libcrypt
libdevinfo
libdevstat Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
libdisk style.Makefile: 2004-02-23 20:07:47 +00:00
libedit
libexpat
libfetch Slight tweak to previous commit: don't forget to call _http_seterr() if 2004-02-11 09:35:27 +00:00
libform
libftpio
libgeom
libio Remove now redundant and now conflicting declaration of sysarch(2). 2004-01-10 18:37:11 +00:00
libipsec Initial import of RFC 2385 (TCP-MD5) digest support. 2004-02-11 04:34:34 +00:00
libipx
libisc
libkiconv Make msdosfs long filenames matching case insensitive again. 2003-12-08 08:32:20 +00:00
libkse style cleanup: Remove duplicate $FreeBSD$ tags. 2004-02-10 20:42:33 +00:00
libkvm Update man page to reflect additional flag to allow selection of threads. 2004-02-22 18:12:56 +00:00
libmd Backed out rev.1.6 and subsequent copying of it (bogus addition of 2004-02-26 07:44:37 +00:00
libmenu
libmilter
libmp
libncp
libncurses
libnetgraph Increment WARNS. 2004-01-28 00:11:42 +00:00
libngatm style.Makefile: 2004-02-23 20:07:47 +00:00
libopie Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
libpam Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
libpanel
libpcap * Modify libpcap to work a bit better with our 802.11 code. This means 2003-11-04 06:12:21 +00:00
libpthread style cleanup: Remove duplicate $FreeBSD$ tags. 2004-02-10 20:45:28 +00:00
libpthread_dbg Add missing file. 2004-02-04 06:32:45 +00:00
libradius Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
librpcsvc
libsbuf
libsdp Add extra sanity check for SDP packets in libsdp(3) 2004-02-26 20:44:55 +00:00
libsm
libsmb
libsmdb
libsmutil
libstand No reason to disable this test on powerpc. 2004-02-25 00:53:06 +00:00
libtacplus Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
libtelnet
libthr Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
libufs
libugidfw Add bsde_add_rule(), which is similar to bsde_set_rule() except that 2004-02-25 03:24:39 +00:00
libusbhid Do not cast dval. 2004-02-11 21:09:13 +00:00
libutil Back out the "clean_environment()" function from libutil. 2004-02-29 22:13:28 +00:00
libvgl
libwrap
libxpg4
liby
libypclnt Nothing in libypclnt depends on librpcsvc. 2004-02-04 09:53:29 +00:00
libz
msun
ncurses
Makefile Hook libthr to the build for PowerPC 2004-03-02 06:26:37 +00:00
Makefile.inc