Date: Fri, 5 Mar 2004 22:19:41 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: Mark Murray <markm@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: <20040305201941.GA4741@ip.net.ua> In-Reply-To: <200403050810.i258AJQt098278@repoman.freebsd.org> References: <200403050810.i258AJQt098278@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040305201941.GA4741>