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/init_main.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/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 9de00a8..3e44c88 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * @(#)init_main.c 8.9 (Berkeley) 1/21/94 - * $Id: init_main.c,v 1.29 1995/09/03 05:43:35 julian Exp $ + * $Id: init_main.c,v 1.30 1995/09/09 18:09:59 davidg Exp $ */ #include <sys/param.h> @@ -67,6 +67,7 @@ #include <sys/sem.h> #include <sys/shm.h> #include <sys/user.h> +#include <sys/sysproto.h> #include <ufs/ufs/quota.h> |