Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Mar 2004 20:45:38 +0000
From:      Mark Murray <mark@grondar.org>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        cvs-all@FreeBSD.ORG
Subject:   Re: 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 ... 
Message-ID:  <200403052045.i25Kjc0w032005@grimreaper.grondar.org>
In-Reply-To: Your message of "Fri, 05 Mar 2004 22:19:41 %2B0200." <20040305201941.GA4741@ip.net.ua> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403052045.i25Kjc0w032005>