diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-09-17 21:29:06 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-09-17 21:29:06 +0000 |
commit | 64620c0f765340361b6e1714f4b25e815271c95e (patch) | |
tree | e486dca4f9bd4c33083e88473624273b6c450c4d /usr.bin/make/job.c | |
parent | a336071222c6757d8ada53c28f4d6743131fb475 (diff) | |
download | FreeBSD-src-64620c0f765340361b6e1714f4b25e815271c95e.zip FreeBSD-src-64620c0f765340361b6e1714f4b25e815271c95e.tar.gz |
#define<space> -> #define<tab>
Diffstat (limited to 'usr.bin/make/job.c')
-rw-r--r-- | usr.bin/make/job.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 096b437..8af4b8c 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -43,7 +43,7 @@ __FBSDID("$FreeBSD$"); #ifndef OLD_JOKE -#define OLD_JOKE 0 +#define OLD_JOKE 0 #endif /* OLD_JOKE */ /*- @@ -132,15 +132,15 @@ __FBSDID("$FreeBSD$"); */ static int errors = 0; /* number of errors reported */ static int aborting = 0; /* why is the make aborting? */ -#define ABORT_ERROR 1 /* Because of an error */ -#define ABORT_INTERRUPT 2 /* Because it was interrupted */ -#define ABORT_WAIT 3 /* Waiting for jobs to finish */ +#define ABORT_ERROR 1 /* Because of an error */ +#define ABORT_INTERRUPT 2 /* Because it was interrupted */ +#define ABORT_WAIT 3 /* Waiting for jobs to finish */ /* * XXX: Avoid SunOS bug... FILENO() is fp->_file, and file * is a char! So when we go above 127 we turn negative! */ -#define FILENO(a) ((unsigned) fileno(a)) +#define FILENO(a) ((unsigned) fileno(a)) /* * post-make command processing. The node postCommands is really just the @@ -156,10 +156,10 @@ static int numCommands; /* The number of commands actually printed /* * Return values from JobStart. */ -#define JOB_RUNNING 0 /* Job is running */ -#define JOB_ERROR 1 /* Error in starting the job */ -#define JOB_FINISHED 2 /* The job is already finished */ -#define JOB_STOPPED 3 /* The job is stopped */ +#define JOB_RUNNING 0 /* Job is running */ +#define JOB_ERROR 1 /* Error in starting the job */ +#define JOB_FINISHED 2 /* The job is already finished */ +#define JOB_STOPPED 3 /* The job is stopped */ /* * tfile is used to build temp file names to store shell commands to @@ -284,7 +284,7 @@ STATIC Lst stoppedJobs; /* Lst of Job structures describing * stuff much more. So, we devise our own macros... This is * really ugly, use dramamine sparingly. You have been warned. */ -#define W_SETMASKED(st, val, fun) \ +#define W_SETMASKED(st, val, fun) \ { \ int sh = (int) ~0; \ int mask = fun(sh); \ @@ -294,8 +294,8 @@ STATIC Lst stoppedJobs; /* Lst of Job structures describing *(st) = (*(st) & ~mask) | ((val) << sh); \ } -#define W_SETTERMSIG(st, val) W_SETMASKED(st, val, WTERMSIG) -#define W_SETEXITSTATUS(st, val) W_SETMASKED(st, val, WEXITSTATUS) +#define W_SETTERMSIG(st, val) W_SETMASKED(st, val, WTERMSIG) +#define W_SETEXITSTATUS(st, val) W_SETMASKED(st, val, WEXITSTATUS) static int JobCondPassSig(void *, void *); @@ -547,7 +547,7 @@ JobPrintCommand(cmdp, jobp) return 0; } -#define DBPRINTF(fmt, arg) if (DEBUG(JOB)) { \ +#define DBPRINTF(fmt, arg) if (DEBUG(JOB)) { \ (void) fprintf(stdout, fmt, arg); \ (void) fflush(stdout); \ } \ |