summaryrefslogtreecommitdiffstats
path: root/bin/sh/jobs.h
diff options
context:
space:
mode:
authorcracauer <cracauer@FreeBSD.org>1998-08-25 09:33:34 +0000
committercracauer <cracauer@FreeBSD.org>1998-08-25 09:33:34 +0000
commit2ca0a9a7fbfb8fa635bb19255ab351359ef0d32c (patch)
treef4a8eda0d679103835834312a2c79f44c013b7f9 /bin/sh/jobs.h
parent3fc10b771999799e730d32054e38d93549b76b73 (diff)
downloadFreeBSD-src-2ca0a9a7fbfb8fa635bb19255ab351359ef0d32c.zip
FreeBSD-src-2ca0a9a7fbfb8fa635bb19255ab351359ef0d32c.tar.gz
Improve bookkeeping of in_waitcmd and style fixes.
Submitted by: Bruce Evans
Diffstat (limited to 'bin/sh/jobs.h')
-rw-r--r--bin/sh/jobs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/sh/jobs.h b/bin/sh/jobs.h
index 3182a65..b164b2f2 100644
--- a/bin/sh/jobs.h
+++ b/bin/sh/jobs.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)jobs.h 8.2 (Berkeley) 5/4/95
- * $Id: jobs.h,v 1.6 1997/08/18 02:53:20 steve Exp $
+ * $Id: jobs.h,v 1.7 1998/08/24 10:20:36 cracauer Exp $
*/
/* Mode argument to forkshell. Don't change FORK_FG or FORK_BG. */
@@ -42,7 +42,7 @@
#define FORK_BG 1
#define FORK_NOJOB 2
-#include <signal.h> /* For sig_atomic_t */
+#include <signal.h> /* for sig_atomic_t */
/*
* A job structure contains information about a job. A job is either a
@@ -78,8 +78,8 @@ struct job {
extern pid_t backgndpid; /* pid of last background process */
extern int job_warning; /* user was warned about stopped jobs */
-extern int in_waitcmd; /* Are we in wait? */
-extern volatile sig_atomic_t breakwaitcmd; /* Should wait be terminated? */
+extern int in_waitcmd; /* are we in waitcmd()? */
+extern volatile sig_atomic_t breakwaitcmd; /* should wait be terminated? */
void setjobctl __P((int));
int fgcmd __P((int, char **));
OpenPOWER on IntegriCloud