aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_syscalls.c
diff options
context:
space:
mode:
authorSteven Wallace <swallace@FreeBSD.org>1995-10-08 00:06:22 +0000
committerSteven Wallace <swallace@FreeBSD.org>1995-10-08 00:06:22 +0000
commitad7507e248305927d8c7a35dcc9ec72608b039d7 (patch)
tree4cf803467b46c0d8d5eab52d09bfcb9eee010898 /sys/kern/vfs_syscalls.c
parent4170ff3e277aad7c91ecf9c687511badd92272a4 (diff)
downloadsrc-ad7507e248305927d8c7a35dcc9ec72608b039d7.tar.gz
src-ad7507e248305927d8c7a35dcc9ec72608b039d7.zip
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.
Notes
Notes: svn path=/head/; revision=11332
Diffstat (limited to 'sys/kern/vfs_syscalls.c')
-rw-r--r--sys/kern/vfs_syscalls.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index 1f7135ae14dc..ffee2d650499 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94
- * $Id: vfs_syscalls.c,v 1.32 1995/08/17 11:53:40 bde Exp $
+ * $Id: vfs_syscalls.c,v 1.33 1995/08/28 09:18:56 julian Exp $
*/
#include <sys/param.h>
@@ -315,6 +315,10 @@ int syncprt = 0;
struct ctldebug debug0 = { "syncprt", &syncprt };
#endif
+struct sync_args {
+ int dummy;
+};
+
/* ARGSUSED */
int
sync(p, uap, retval)