aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/jobs.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-02-02 06:50:57 +0000
committerWarner Losh <imp@FreeBSD.org>2002-02-02 06:50:57 +0000
commit5134c3f7990c353d2442ddd8a9a1d30b80099e43 (patch)
tree01a827446e9ba4f34cf1e754fcac691f6c9eb1cf /bin/sh/jobs.h
parent46251dde8f47db03ad83997efd5e8f8bd8938855 (diff)
downloadsrc-5134c3f7990c353d2442ddd8a9a1d30b80099e43.tar.gz
src-5134c3f7990c353d2442ddd8a9a1d30b80099e43.zip
o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. o Change int foo() { ... to int foo(void) { ...
Notes
Notes: svn path=/head/; revision=90111
Diffstat (limited to 'bin/sh/jobs.h')
-rw-r--r--bin/sh/jobs.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/bin/sh/jobs.h b/bin/sh/jobs.h
index e8274b08f0ff..e73c930cbb02 100644
--- a/bin/sh/jobs.h
+++ b/bin/sh/jobs.h
@@ -82,18 +82,18 @@ extern int in_waitcmd; /* are we in waitcmd()? */
extern int in_dowait; /* are we in dowait()? */
extern volatile sig_atomic_t breakwaitcmd; /* break wait to process traps? */
-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 *));
-int stoppedjobs __P((void));
-char *commandtext __P((union node *));
+void setjobctl(int);
+int fgcmd(int, char **);
+int bgcmd(int, char **);
+int jobscmd(int, char **);
+void showjobs(int);
+int waitcmd(int, char **);
+int jobidcmd(int, char **);
+struct job *makejob(union node *, int);
+int forkshell(struct job *, union node *, int);
+int waitforjob(struct job *, int *);
+int stoppedjobs(void);
+char *commandtext(union node *);
#if ! JOBS
#define setjobctl(on) /* do nothing */