summaryrefslogtreecommitdiffstats
path: root/sys/sys/systm.h
diff options
context:
space:
mode:
authorswallace <swallace@FreeBSD.org>1995-10-08 00:06:22 +0000
committerswallace <swallace@FreeBSD.org>1995-10-08 00:06:22 +0000
commitf89a2d225944046c5c8362675c54642d17b2ab38 (patch)
tree4cf803467b46c0d8d5eab52d09bfcb9eee010898 /sys/sys/systm.h
parent7c4cb4e36b6ca49b9c0ecf7eee5f82866e8c0d3e (diff)
downloadFreeBSD-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/sys/systm.h')
-rw-r--r--sys/sys/systm.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/sys/sys/systm.h b/sys/sys/systm.h
index 2ee6c22..e12779b 100644
--- a/sys/sys/systm.h
+++ b/sys/sys/systm.h
@@ -190,31 +190,4 @@ void timeout(timeout_func_t, void *, int);
void untimeout(timeout_func_t, void *);
void logwakeup __P((void));
-/* Syscalls that are called internally. */
-struct close_args {
- int fd;
-};
-int close __P((struct proc *, struct close_args *uap, int *retval));
-struct execve_args {
- char *fname;
- char **argv;
- char **envv;
-};
-int execve __P((struct proc *, struct execve_args *, int *retval));
-struct fork_args {
- int dummy;
-};
-int fork __P((struct proc *, struct fork_args *, int retval[]));
-struct sync_args {
- int dummy;
-};
-int sync __P((struct proc *, struct sync_args *, int *retval));
-struct wait_args {
- int pid;
- int *status;
- int options;
- struct rusage *rusage;
-};
-int wait1 __P((struct proc *, struct wait_args *, int retval[]));
-
#endif /* !_SYS_SYSTM_H_ */
OpenPOWER on IntegriCloud