summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/job.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-05-13 06:31:45 +0000
committerharti <harti@FreeBSD.org>2005-05-13 06:31:45 +0000
commit591461b255820286bc3bff9255be4670505ef9f6 (patch)
tree0d921aefa72a95b0e6d2ec580aceb1015b622ec0 /usr.bin/make/job.h
parentf320f90aa13e4dc5d52bb9938d2a0827f115002e (diff)
downloadFreeBSD-src-591461b255820286bc3bff9255be4670505ef9f6.zip
FreeBSD-src-591461b255820286bc3bff9255be4670505ef9f6.tar.gz
Make Shell_Init() static - it's only used here.
Make sure we don't end up with shellPath beeing non-zero, but shellName beeing zero in the error case - back out cleanly from the error. When executing a command for macro assignment in Cmd_Exec() stuff the path of the shell into argv[0], not the name. This makes no difference from the functionality point of view, but allows the regression tests to determine whether make executes the correct shell.
Diffstat (limited to 'usr.bin/make/job.h')
-rw-r--r--usr.bin/make/job.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h
index 0c85c01..e908653 100644
--- a/usr.bin/make/job.h
+++ b/usr.bin/make/job.h
@@ -56,7 +56,6 @@ struct Buffer;
struct GNode;
struct Lst;
-void Shell_Init(void);
void Job_Touch(struct GNode *, Boolean);
Boolean Job_CheckCommands(struct GNode *, void (*abortProc)(const char *, ...));
void Job_CatchChildren(Boolean);
OpenPOWER on IntegriCloud