From owner-cvs-all Fri Dec 14 10:29:20 2001 Delivered-To: cvs-all@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id CC9CD37B416; Fri, 14 Dec 2001 10:29:17 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.3/8.11.1) id fBEITFp51435; Fri, 14 Dec 2001 10:29:15 -0800 (PST) (envelope-from rizzo) Date: Fri, 14 Dec 2001 10:29:15 -0800 From: Luigi Rizzo To: Mark Murray Cc: obrien@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Are prototypes for main() illegal by any standard ? (was Re: cvs commit: src/bin/rm rm.c src/usr.sbin/chown chown.c src/usr.sbin/dev_mkdb dev_mkdb.c Message-ID: <20011214102915.L49775@iguana.aciri.org> References: <20011214094310.A25238@dragon.nuxi.com> <200112141803.fBEI3MU02957@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200112141803.fBEI3MU02957@grimreaper.grondar.org> User-Agent: Mutt/1.3.23i 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 Anyways, i think we should not make a big deal out of this. Is it illegal, by any standard, to supply prototypes for main() ? If not, what is wrong in casually adding them whenever you happen to touch those files ? And the problem is not as widespread as Ruslan suggested. Out of the 40-50 binaries in my picobsd config, only 3 caused -Werror to block. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message