diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-11-10 14:11:50 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-11-10 14:11:50 +0000 |
commit | c8d2e51bd7a0619de056d282d236c87a31ae36db (patch) | |
tree | de9549c17737d4cca2b5f96c7b76c13a671ff1bc /usr.bin/make/main.c | |
parent | 79f0bed83b3aab3482cd4b04d8b04583d094e0ae (diff) |
Turn on strict-prototypes, add missing prototypes.
Move main prototype to main.c, as this is not used
from any other file.
Close open bug.
Diffstat (limited to 'usr.bin/make/main.c')
-rw-r--r-- | usr.bin/make/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index 0394e62501d..a030406a5c0 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.15 1999/01/09 16:45:02 espie Exp $ */ +/* $OpenBSD: main.c,v 1.16 1999/11/10 14:11:49 espie Exp $ */ /* $NetBSD: main.c,v 1.34 1997/03/24 20:56:36 gwr Exp $ */ /* @@ -49,7 +49,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.15 1999/01/09 16:45:02 espie Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.16 1999/11/10 14:11:49 espie Exp $"; #endif #endif /* not lint */ @@ -140,6 +140,7 @@ static void MainParseArgs __P((int, char **)); char * chdir_verify_path __P((char *, char *)); static int ReadMakefile __P((ClientData, ClientData)); static void usage __P((void)); +int main __P((int, char **)); static char *curdir; /* startup directory */ static char *objdir; /* where we chdir'ed to */ |