summaryrefslogtreecommitdiff
path: root/usr/src/cmd/csh/sh.proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/csh/sh.proc.c')
-rw-r--r--usr/src/cmd/csh/sh.proc.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/usr/src/cmd/csh/sh.proc.c b/usr/src/cmd/csh/sh.proc.c
index 298c2e718a..4dc608c88c 100644
--- a/usr/src/cmd/csh/sh.proc.c
+++ b/usr/src/cmd/csh/sh.proc.c
@@ -12,8 +12,6 @@
* specifies the terms and conditions for redistribution.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include "sh.h"
#include "sh.dir.h"
#include "sh.proc.h"
@@ -24,6 +22,15 @@
* C Shell - functions that manage processes, handling hanging, termination
*/
+bool neednote;
+bool pjobs;
+static struct process *pprevious;
+static short pmaxindex;
+static struct process proclist;
+static struct process *pcurrent;
+struct process *pcurrjob;
+static struct process *pholdjob;
+
#define BIGINDEX 9 /* largest desirable job index */
void pjwait(struct process *);
@@ -71,7 +78,6 @@ loop:
errno = 0;
goto loop;
}
- pnoprocesses = pid == -1;
return;
}
for (pp = proclist.p_next; pp != PNULL; pp = pp->p_next)