Date: Fri, 14 Dec 2001 10:29:15 -0800 From: Luigi Rizzo <rizzo@aciri.org> To: Mark Murray <mark@grondar.za> 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> In-Reply-To: <200112141803.fBEI3MU02957@grimreaper.grondar.org> References: <20011214094310.A25238@dragon.nuxi.com> <200112141803.fBEI3MU02957@grimreaper.grondar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011214102915.L49775>