From owner-cvs-all@FreeBSD.ORG Fri Mar 5 12:19:54 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FD1F16A4CE; Fri, 5 Mar 2004 12:19:54 -0800 (PST) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1733D43D1D; Fri, 5 Mar 2004 12:19:51 -0800 (PST) (envelope-from ru@ip.net.ua) Received: from heffalump.office.ipnet (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.10/8.12.9) with ESMTP id i25KMou8068474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 5 Mar 2004 22:22:51 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.office.ipnet (8.12.11/8.12.11) id i25KJfBl004871; Fri, 5 Mar 2004 22:19:41 +0200 (EET) (envelope-from ru) Date: Fri, 5 Mar 2004 22:19:41 +0200 From: Ruslan Ermilov To: Mark Murray Message-ID: <20040305201941.GA4741@ip.net.ua> References: <200403050810.i258AJQt098278@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline In-Reply-To: <200403050810.i258AJQt098278@repoman.freebsd.org> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) 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-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2004 20:19:54 -0000 --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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). > =20 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, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFASODdUkv4P6juNwoRAnsNAKCAU2LlDFH7qECd0gN/yqw+zMSBewCfRgQp 0nJ+7AS6vJ6xC6sjKiAUTzc= =XJzg -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7--