From owner-cvs-src@FreeBSD.ORG Fri Mar 5 12:50:21 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2000716A4CE; Fri, 5 Mar 2004 12:50:21 -0800 (PST) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F36F43D1D; Fri, 5 Mar 2004 12:50:16 -0800 (PST) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) i25KoEjV092584; Fri, 5 Mar 2004 20:50:14 GMT (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)i25KoEV5092583; Fri, 5 Mar 2004 20:50:14 GMT (envelope-from mark@grondar.org) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])i25Kjc0w032005; Fri, 5 Mar 2004 20:45:39 GMT (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200403052045.i25Kjc0w032005@grimreaper.grondar.org> To: Ruslan Ermilov In-Reply-To: Your message of "Fri, 05 Mar 2004 22:19:41 +0200." <20040305201941.GA4741@ip.net.ua> Date: Fri, 05 Mar 2004 20:45:38 +0000 Sender: mark@grondar.org X-Spam-Score: 4 (****) FROM_NO_LOWER,MSGID_FROM_MTA_SHORT X-Scanned-By: MIMEDefang 2.39 cc: cvs-src@FreeBSD.ORG cc: src-committers@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 ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2004 20:50:21 -0000 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