Module Name:    src
Committed By:   rillig
Date:           Tue Dec 15 16:30:56 UTC 2020

Modified Files:
        src/usr.bin/make: job.h

Log Message:
make(1): indent job.h with tabs instead of spaces


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/usr.bin/make/job.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/job.h
diff -u src/usr.bin/make/job.h:1.69 src/usr.bin/make/job.h:1.70
--- src/usr.bin/make/job.h:1.69	Sat Dec 12 10:21:50 2020
+++ src/usr.bin/make/job.h	Tue Dec 15 16:30:55 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: job.h,v 1.69 2020/12/12 10:21:50 rillig Exp $	*/
+/*	$NetBSD: job.h,v 1.70 2020/12/15 16:30:55 rillig Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -118,11 +118,11 @@ struct pollfd;
 #endif
 
 typedef enum JobStatus {
-    JOB_ST_FREE =	0,	/* Job is available */
-    JOB_ST_SET_UP =	1,	/* Job is allocated but otherwise invalid */
-    /* XXX: What about the 2? */
-    JOB_ST_RUNNING =	3,	/* Job is running, pid valid */
-    JOB_ST_FINISHED =	4	/* Job is done (ie after SIGCHILD) */
+	JOB_ST_FREE	= 0,	/* Job is available */
+	JOB_ST_SET_UP	= 1,	/* Job is allocated but otherwise invalid */
+	/* XXX: What about the 2? */
+	JOB_ST_RUNNING	= 3,	/* Job is running, pid valid */
+	JOB_ST_FINISHED	= 4	/* Job is done (ie after SIGCHILD) */
 } JobStatus;
 
 /* A Job manages the shell commands that are run to create a single target.
@@ -137,44 +137,44 @@ typedef enum JobStatus {
  * that was just remade, marking them as ready to be made next if all
  * other dependencies are finished as well. */
 typedef struct Job {
-    /* The process ID of the shell running the commands */
-    int pid;
+	/* The process ID of the shell running the commands */
+	int pid;
 
-    /* The target the child is making */
-    GNode *node;
+	/* The target the child is making */
+	GNode *node;
 
-    /* If one of the shell commands is "...", all following commands are
-     * delayed until the .END node is made.  This list node points to the
-     * first of these commands, if any. */
-    StringListNode *tailCmds;
+	/* If one of the shell commands is "...", all following commands are
+	* delayed until the .END node is made.  This list node points to the
+	* first of these commands, if any. */
+	StringListNode *tailCmds;
 
-    /* This is where the shell commands go. */
-    FILE *cmdFILE;
+	/* This is where the shell commands go. */
+	FILE *cmdFILE;
 
-    int exit_status;		/* from wait4() in signal handler */
+	int exit_status;	/* from wait4() in signal handler */
 
-    JobStatus status;
+	JobStatus status;
 
-    Boolean suspended;
+	Boolean suspended;
 
-    /* Ignore non-zero exits */
-    Boolean ignerr;
-    /* Output the command before or instead of running it. */
-    Boolean echo;
-    /* Target is a special one. */
-    Boolean special;
+	/* Ignore non-zero exits */
+	Boolean ignerr;
+	/* Output the command before or instead of running it. */
+	Boolean echo;
+	/* Target is a special one. */
+	Boolean special;
 
-    int inPipe;			/* Pipe for reading output from job */
-    int outPipe;		/* Pipe for writing control commands */
-    struct pollfd *inPollfd;	/* pollfd associated with inPipe */
+	int inPipe;		/* Pipe for reading output from job */
+	int outPipe;		/* Pipe for writing control commands */
+	struct pollfd *inPollfd; /* pollfd associated with inPipe */
 
 #define JOB_BUFSIZE	1024
-    /* Buffer for storing the output of the job, line by line. */
-    char outBuf[JOB_BUFSIZE + 1];
-    size_t curPos;		/* Current position in outBuf. */
+	/* Buffer for storing the output of the job, line by line. */
+	char outBuf[JOB_BUFSIZE + 1];
+	size_t curPos;		/* Current position in outBuf. */
 
 #ifdef USE_META
-    struct BuildMon bm;
+	struct BuildMon bm;
 #endif
 } Job;
 

Reply via email to