summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/compat.c
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-06-12 04:18:31 +0000
committerjmallett <jmallett@FreeBSD.org>2002-06-12 04:18:31 +0000
commitc3b688425de3f0901fdcd17e0e68fa4e90ef717f (patch)
treec452007eb644c7e9f354e1da6956cfdaeb504748 /usr.bin/make/compat.c
parent20c0a6cdd5424c6bd478012b6a5af279b61c36d5 (diff)
downloadFreeBSD-src-c3b688425de3f0901fdcd17e0e68fa4e90ef717f.zip
FreeBSD-src-c3b688425de3f0901fdcd17e0e68fa4e90ef717f.tar.gz
String lengths and sizeof()s are size_t not int. Mark an unused parameter
of ReadMakefile as __unused, it's there because this function is used by the abstracted list interface which normally deals with item handlers which take two arguments. Add a missing static prototype.
Diffstat (limited to 'usr.bin/make/compat.c')
-rw-r--r--usr.bin/make/compat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/make/compat.c b/usr.bin/make/compat.c
index f0d08aa..cf2e309 100644
--- a/usr.bin/make/compat.c
+++ b/usr.bin/make/compat.c
@@ -82,6 +82,7 @@ static GNode *ENDNode;
static void CompatInterrupt(int);
static int CompatRunCommand(void *, void *);
static int CompatMake(void *, void *);
+static int shellneed(char *);
static char *sh_builtin[] = {
"alias", "cd", "eval", "exec", "exit", "read", "set", "ulimit",
OpenPOWER on IntegriCloud