Date: Fri, 14 Dec 2001 08:22:42 -0800 (PST) From: Luigi Rizzo <luigi@FreeBSD.org> 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 Message-ID: <200112141622.fBEGMg705939@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112141622.fBEGMg705939>
