From owner-cvs-all Fri Dec 14 8:22:53 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1D8E737B405; Fri, 14 Dec 2001 08:22:43 -0800 (PST) Received: (from luigi@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBEGMg705939; Fri, 14 Dec 2001 08:22:42 -0800 (PST) (envelope-from luigi) Message-Id: <200112141622.fBEGMg705939@freefall.freebsd.org> From: Luigi Rizzo Date: Fri, 14 Dec 2001 08:22:42 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/rm rm.c src/usr.sbin/chown chown.c src/usr.sbin/dev_mkdb dev_mkdb.c X-FreeBSD-CVS-Branch: HEAD 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 luigi 2001/12/14 08:22:42 PST Modified files: bin/rm rm.c usr.sbin/chown chown.c usr.sbin/dev_mkdb dev_mkdb.c Log: Add prototypes for main() so that these programs compile with -Werror (which somehow now seems to be the default for compiling -current). This error popped up while doing a PicoBSD cross-compile on a 4.3-ish system, it may well be that there are other apps which have similar problems, but I did not spot them as they are not included in my picobsd config. Whether adding prototypes for main() is the correct solution or not I have no idea, a request to -current on the matter went basically unanswered. Those who have better ideas are welcome to back this out and replace it with the correct fix. Revision Changes Path 1.34 +2 -1 src/bin/rm/rm.c 1.20 +2 -1 src/usr.sbin/chown/chown.c 1.6 +1 -0 src/usr.sbin/dev_mkdb/dev_mkdb.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message