summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_unix.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-12 06:43:28 +0000
committerbde <bde@FreeBSD.org>1995-11-12 06:43:28 +0000
commitaa9a60640e2c942769c3a8f506c8cb6317bb1eaf (patch)
tree2f26975a8fd164c9658b820d74c731c86cbb9e18 /sys/vm/vm_unix.c
parent7a9faab8f26e7692e572f4cdd89f30d1be471ebd (diff)
downloadFreeBSD-src-aa9a60640e2c942769c3a8f506c8cb6317bb1eaf.zip
FreeBSD-src-aa9a60640e2c942769c3a8f506c8cb6317bb1eaf.tar.gz
Included <sys/sysproto.h> to get central declarations for syscall args
structs and prototypes for syscalls. Ifdefed duplicated decentralized declarations of args structs. It's convenient to have this visible but they are hard to maintain. Some are already different from the central declarations. 4.4lite2 puts them in comments in the function headers but I wanted to avoid the large changes for that.
Diffstat (limited to 'sys/vm/vm_unix.c')
-rw-r--r--sys/vm/vm_unix.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/vm/vm_unix.c b/sys/vm/vm_unix.c
index 49b4405..9d2668d 100644
--- a/sys/vm/vm_unix.c
+++ b/sys/vm/vm_unix.c
@@ -38,7 +38,7 @@
* from: Utah $Hdr: vm_unix.c 1.1 89/11/07$
*
* @(#)vm_unix.c 8.1 (Berkeley) 6/11/93
- * $Id: vm_unix.c,v 1.6 1995/10/07 19:02:56 davidg Exp $
+ * $Id: vm_unix.c,v 1.7 1995/11/11 06:40:35 bde Exp $
*/
/*
@@ -46,15 +46,18 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/sysproto.h>
#include <sys/proc.h>
#include <sys/resourcevar.h>
#include <vm/vm.h>
#include <vm/swap_pager.h>
+#ifndef _SYS_SYSPROTO_H_
struct obreak_args {
char *nsize;
};
+#endif
/* ARGSUSED */
int
@@ -94,9 +97,11 @@ obreak(p, uap, retval)
return (0);
}
+#ifndef _SYS_SYSPROTO_H_
struct ovadvise_args {
int anom;
};
+#endif
/* ARGSUSED */
int
OpenPOWER on IntegriCloud