From owner-cvs-all Fri Dec 14 9:43:37 2001 Delivered-To: cvs-all@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 8B69637B417; Fri, 14 Dec 2001 09:43:29 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id fBEHhEP25261; Fri, 14 Dec 2001 09:43:14 -0800 (PST) (envelope-from obrien) Date: Fri, 14 Dec 2001 09:43:10 -0800 From: "David O'Brien" To: Mark Murray Cc: Ruslan Ermilov , Luigi Rizzo , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/rm rm.c src/usr.sbin/chown chown.c src/usr.sbin/dev_mkdb dev_mkdb.c Message-ID: <20011214094310.A25238@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <20011214184532.A99179@sunbay.com> <200112141659.fBEGx9U02211@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200112141659.fBEGx9U02211@grimreaper.grondar.org>; from mark@grondar.za on Fri, Dec 14, 2001 at 04:59:08PM +0000 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Dec 14, 2001 at 04:59:08PM +0000, Mark Murray wrote: > > Now everybody knows that you don't actually use -CURRENT. :-) > > In -CURRENT, main() doesn't require a prototype. > > Please back these out. > > This is incorrect. I'm doing a big WARNS=2 sweep in usr.bin, and > main _does_ need proper prototyping. People should stop the WARNS sweeps for 1-2 mo. GCC 3 has *SO* many more warnings just about all of our WARNS=2 will have to be revisited. IIRC this issue with main() is also dealt with in GCC 3. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message