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 ...
Mark Murray
mark at grondar.org
Fri Mar 5 12:50:21 PST 2004
Ruslan Ermilov writes:
> 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.
Logically, yes it could be reduced. I like it the way it is, because
it show the clear intent of having the ((void *)0) NULL in kernel,
seperable from how it is in userland.
M
--
Mark Murray
iumop ap!sdn w,I idlaH
More information about the cvs-src
mailing list