1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/lib/libthr/arch
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
..
alpha Implement _get_curthread and _set_curthread. We use GCCs builtin 2003-07-24 07:51:49 +00:00
i386 Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
ia64 Return gracefully, rather than aborting, when the maximum concurrent 2003-05-25 22:40:57 +00:00
powerpc libthr powerpc support. 2004-03-02 06:25:20 +00:00
sparc64 Return gracefully, rather than aborting, when the maximum concurrent 2003-05-25 22:40:57 +00:00