From owner-cvs-all Fri Dec 14 9: 1:21 2001 Delivered-To: cvs-all@freebsd.org Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id 79B0F37B419; Fri, 14 Dec 2001 09:01:13 -0800 (PST) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.11.6/8.11.6) with UUCP id fBEH18a00358; Fri, 14 Dec 2001 17:01:08 GMT (envelope-from mark@grondar.za) Received: from grondar.za (mark@localhost [127.0.0.1]) by grimreaper.grondar.org (8.11.6/8.11.6) with ESMTP id fBEGx9U02211; Fri, 14 Dec 2001 16:59:09 GMT (envelope-from mark@grondar.za) Message-Id: <200112141659.fBEGx9U02211@grimreaper.grondar.org> To: Ruslan Ermilov Cc: 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 References: <20011214184532.A99179@sunbay.com> In-Reply-To: <20011214184532.A99179@sunbay.com> ; from Ruslan Ermilov "Fri, 14 Dec 2001 18:45:32 +0200." Date: Fri, 14 Dec 2001 16:59:08 +0000 From: Mark Murray 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 > 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. This is not a proper prototype: int main(); This is ok: int main(int, char **); and so is this (yeah, yeah, I know it is complete function): int main(int argc, char *argv[]) { : } but NOT this int main() { : } M -- o Mark Murray \_ FreeBSD Services Limited O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message