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/compat.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/compat.c')
-rw-r--r-- | usr.bin/make/compat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/make/compat.c b/usr.bin/make/compat.c index 6766167845b..b77d6be6413 100644 --- a/usr.bin/make/compat.c +++ b/usr.bin/make/compat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: compat.c,v 1.12 1998/12/05 00:06:27 espie Exp $ */ +/* $OpenBSD: compat.c,v 1.13 1999/11/10 14:11:49 espie Exp $ */ /* $NetBSD: compat.c,v 1.14 1996/11/06 17:59:01 christos Exp $ */ /* @@ -43,7 +43,7 @@ #if 0 static char sccsid[] = "@(#)compat.c 8.2 (Berkeley) 3/19/94"; #else -static char rcsid[] = "$OpenBSD: compat.c,v 1.12 1998/12/05 00:06:27 espie Exp $"; +static char rcsid[] = "$OpenBSD: compat.c,v 1.13 1999/11/10 14:11:49 espie Exp $"; #endif #endif /* not lint */ @@ -87,6 +87,7 @@ static GNode *ENDNode; static void CompatInterrupt __P((int)); static int CompatRunCommand __P((ClientData, ClientData)); static int CompatMake __P((ClientData, ClientData)); +static int shellneed __P((char **av)); /*- *----------------------------------------------------------------------- |