summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/job.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-05-10 13:18:58 +0000
committerharti <harti@FreeBSD.org>2005-05-10 13:18:58 +0000
commita521f4fbfdded78ae8f8cb02085c252293975ca6 (patch)
tree0f0b7bb7b8694f1b5a99997b97103451a561847d /usr.bin/make/job.h
parent67950e3bcf0fc3b0a3cce07d5ffac3c41c4e7145 (diff)
downloadFreeBSD-src-a521f4fbfdded78ae8f8cb02085c252293975ca6.zip
FreeBSD-src-a521f4fbfdded78ae8f8cb02085c252293975ca6.tar.gz
Move Cmd_Exec() from main.c to job.c and fix its prototype. This
results in a warning that will go away soon. Patch: 7.198 Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make/job.h')
-rw-r--r--usr.bin/make/job.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h
index 189a84a8..bf56f11 100644
--- a/usr.bin/make/job.h
+++ b/usr.bin/make/job.h
@@ -53,6 +53,7 @@
#include "sprite.h"
struct GNode;
+struct Buffer;
#define TMPPAT "/tmp/makeXXXXXXXXXX"
@@ -84,4 +85,6 @@ int Job_Finish(void);
void Job_Wait(void);
void Job_AbortAll(void);
+struct Buffer *Cmd_Exec(const char *, const char **);
+
#endif /* job_h_4678dfd1 */
OpenPOWER on IntegriCloud