cvs commit: src/bin/df df.c src/bin/pax options.c src/lib/libbluetooth bluetooth.c src/lib/libbsnmp Makefile.inc src/lib/libc/gen dlfcn.c getpwent.c src/lib/libc/net gethostbydns.c src/lib/libc/rpc getnetconfig.c ...

Ruslan Ermilov ru at FreeBSD.org
Fri Mar 5 12:19:54 PST 2004


On Fri, Mar 05, 2004 at 12:10:19AM -0800, Mark Murray wrote:
[...]
>   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).
>   
Can't ``#if defined(_KERNEL) || !defined(__cplusplus)'' be reduced to
just ``#ifndef __cplusplus''?  The current version somehow implies
that the kernel may have C++ sources, which it's not.


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040305/5fcb838b/attachment.bin


More information about the cvs-src mailing list