summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/job.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-11-05 11:41:36 +0000
committerharti <harti@FreeBSD.org>2004-11-05 11:41:36 +0000
commit34224170f8790b0cd898127b78dd8810e661dcec (patch)
treef2ca5ebb5c5a80e432654b693cdfcac5dfbc780d /usr.bin/make/job.h
parent0bd7b4d36a81259e8b6af9e2036a7e8bc0ae6c03 (diff)
downloadFreeBSD-src-34224170f8790b0cd898127b78dd8810e661dcec.zip
FreeBSD-src-34224170f8790b0cd898127b78dd8810e661dcec.tar.gz
Now with the remote job support removed there can be no remote jobs and
no jobs that need to be remigrated. Remove the flags and the associated code.
Diffstat (limited to 'usr.bin/make/job.h')
-rw-r--r--usr.bin/make/job.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h
index 28854cf..10376a8 100644
--- a/usr.bin/make/job.h
+++ b/usr.bin/make/job.h
@@ -80,9 +80,7 @@
* maintained for each job. If, on the other hand, usePipes is false,
* the output is routed to a temporary file and all that is kept
* is the name of the file and the descriptor open to the file.
- * 6) An identifier provided by and for the exclusive use of the
- * Rmt module.
- * 7) A word of flags which determine how the module handles errors,
+ * 6) A word of flags which determine how the module handles errors,
* echoing, etc. for the job
*
* The job "table" is kept as a linked Lst in 'jobs', with the number of
@@ -103,7 +101,6 @@ typedef struct Job {
* saved when the job has been run */
FILE *cmdFILE; /* When creating the shell script, this is
* where the commands go */
- int rmtID; /* ID returned from Rmt module */
short flags; /* Flags to control treatment of job */
#define JOB_IGNERR 0x001 /* Ignore non-zero exits */
#define JOB_SILENT 0x002 /* no output */
@@ -111,9 +108,7 @@ typedef struct Job {
* if we can't export it and maxLocal is 0 */
#define JOB_IGNDOTS 0x008 /* Ignore "..." lines when processing
* commands */
-#define JOB_REMOTE 0x010 /* Job is running remotely */
#define JOB_FIRST 0x020 /* Job is first job for the node */
-#define JOB_REMIGRATE 0x040 /* Job needs to be remigrated */
#define JOB_RESTART 0x080 /* Job needs to be completely restarted */
#define JOB_RESUME 0x100 /* Job needs to be resumed b/c it stopped,
* for some reason */
@@ -223,6 +218,5 @@ ReturnStatus Job_ParseShell(char *);
int Job_Finish(void);
void Job_Wait(void);
void Job_AbortAll(void);
-void JobFlagForMigration(int);
#endif /* _JOB_H_ */
OpenPOWER on IntegriCloud