summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_unix.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-11-06 19:29:57 +0000
committerphk <phk@FreeBSD.org>1997-11-06 19:29:57 +0000
commit4c8218a5c7d132b8ae0bd2a5a677455d69fabaab (patch)
tree70e3bdde81d385220c0b0de7410976c4e83e5bbd /sys/vm/vm_unix.c
parent363a7ddf8560aa6b11580adeb58853d719217b26 (diff)
downloadFreeBSD-src-4c8218a5c7d132b8ae0bd2a5a677455d69fabaab.zip
FreeBSD-src-4c8218a5c7d132b8ae0bd2a5a677455d69fabaab.tar.gz
Move the "retval" (3rd) parameter from all syscall functions and put
it in struct proc instead. This fixes a boatload of compiler warning, and removes a lot of cruft from the sources. I have not removed the /*ARGSUSED*/, they will require some looking at. libkvm, ps and other userland struct proc frobbing programs will need recompiled.
Diffstat (limited to 'sys/vm/vm_unix.c')
-rw-r--r--sys/vm/vm_unix.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/vm/vm_unix.c b/sys/vm/vm_unix.c
index 5dbfd5f..61ff19e 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.14 1997/02/22 09:48:40 peter Exp $
+ * $Id: vm_unix.c,v 1.15 1997/08/02 14:33:27 bde Exp $
*/
/*
@@ -65,10 +65,9 @@ struct obreak_args {
/* ARGSUSED */
int
-obreak(p, uap, retval)
+obreak(p, uap)
struct proc *p;
struct obreak_args *uap;
- int *retval;
{
register struct vmspace *vm = p->p_vmspace;
vm_offset_t new, old, base;
@@ -122,10 +121,9 @@ struct ovadvise_args {
/* ARGSUSED */
int
-ovadvise(p, uap, retval)
+ovadvise(p, uap)
struct proc *p;
struct ovadvise_args *uap;
- int *retval;
{
return (EINVAL);
OpenPOWER on IntegriCloud