diff options
author | swallace <swallace@FreeBSD.org> | 1995-10-08 00:06:22 +0000 |
---|---|---|
committer | swallace <swallace@FreeBSD.org> | 1995-10-08 00:06:22 +0000 |
commit | f89a2d225944046c5c8362675c54642d17b2ab38 (patch) | |
tree | 4cf803467b46c0d8d5eab52d09bfcb9eee010898 /sys/kern/kern_exit.c | |
parent | 7c4cb4e36b6ca49b9c0ecf7eee5f82866e8c0d3e (diff) | |
download | FreeBSD-src-f89a2d225944046c5c8362675c54642d17b2ab38.zip FreeBSD-src-f89a2d225944046c5c8362675c54642d17b2ab38.tar.gz |
Remove prototype definitions from <sys/systm.h>.
Prototypes are located in <sys/sysproto.h>.
Add appropriate #include <sys/sysproto.h> to files that needed
protos from systm.h.
Add structure definitions to appropriate files that relied on sys/systm.h,
right before system call definition, as in the rest of the kernel source.
In kern_prot.c, instead of using the dummy structure "args", create
individual dummy structures named <syscall>_args. This makes
life easier for prototype generation.
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r-- | sys/kern/kern_exit.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 90a9c6e..c473a41 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -281,6 +281,13 @@ done: cpu_exit(p); } +struct wait_args { + int pid; + int *status; + int options; + struct rusage *rusage; +}; + #if defined(COMPAT_43) || defined(COMPAT_IBCS2) #if defined(hp300) || defined(luna68k) #include <machine/frame.h> |