summaryrefslogtreecommitdiffstats
path: root/bin/sh/jobs.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/jobs.h')
-rw-r--r--bin/sh/jobs.h32
1 files changed, 14 insertions, 18 deletions
diff --git a/bin/sh/jobs.h b/bin/sh/jobs.h
index fd08023..fa42549 100644
--- a/bin/sh/jobs.h
+++ b/bin/sh/jobs.h
@@ -33,8 +33,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)jobs.h 8.1 (Berkeley) 5/31/93
- * $Id$
+ * @(#)jobs.h 8.2 (Berkeley) 5/4/95
+ * $Id: jobs.h,v 1.2 1994/09/24 02:57:42 davidg Exp $
*/
/* Mode argument to forkshell. Don't change FORK_FG or FORK_BG. */
@@ -78,22 +78,18 @@ struct job {
extern short backgndpid; /* pid of last background process */
extern int job_warning; /* user was warned about stopped jobs */
-
-#ifdef __STDC__
-void setjobctl(int);
-void showjobs(int);
-struct job *makejob(union node *, int);
-int forkshell(struct job *, union node *, int);
-int waitforjob(struct job *);
-char *commandtext(union node *);
-#else
-void setjobctl();
-void showjobs();
-struct job *makejob();
-int forkshell();
-int waitforjob();
-char *commandtext();
-#endif
+void setjobctl __P((int));
+int fgcmd __P((int, char **));
+int bgcmd __P((int, char **));
+int jobscmd __P((int, char **));
+void showjobs __P((int));
+int waitcmd __P((int, char **));
+int jobidcmd __P((int, char **));
+struct job *makejob __P((union node *, int));
+int forkshell __P((struct job *, union node *, int));
+int waitforjob __P((struct job *));
+int stoppedjobs __P((void));
+char *commandtext __P((union node *));
#if ! JOBS
#define setjobctl(on) /* do nothing */
OpenPOWER on IntegriCloud