]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add prototypes for main() so that these programs compile with -Werror
authorLuigi Rizzo <luigi@FreeBSD.org>
Fri, 14 Dec 2001 16:22:41 +0000 (16:22 +0000)
committerLuigi Rizzo <luigi@FreeBSD.org>
Fri, 14 Dec 2001 16:22:41 +0000 (16:22 +0000)
commit69393d06460cbe9077cdf322f96443c3807a3209
tree84cf1d7641eabc795ab8cc666fc99465674f6005
parent6257f961225791ca87e9c7f2716b0cfb8d4c1d0e
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.
bin/rm/rm.c
usr.sbin/chown/chown.c
usr.sbin/dev_mkdb/dev_mkdb.c