diff options
author | phk <phk@FreeBSD.org> | 1997-11-06 19:29:57 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-11-06 19:29:57 +0000 |
commit | 4c8218a5c7d132b8ae0bd2a5a677455d69fabaab (patch) | |
tree | 70e3bdde81d385220c0b0de7410976c4e83e5bbd /sys/nfs/nfs_syscalls.c | |
parent | 363a7ddf8560aa6b11580adeb58853d719217b26 (diff) | |
download | FreeBSD-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/nfs/nfs_syscalls.c')
-rw-r--r-- | sys/nfs/nfs_syscalls.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c index 80f2298..6821386 100644 --- a/sys/nfs/nfs_syscalls.c +++ b/sys/nfs/nfs_syscalls.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_syscalls.c 8.5 (Berkeley) 3/30/95 - * $Id: nfs_syscalls.c,v 1.29 1997/10/12 20:25:47 phk Exp $ + * $Id: nfs_syscalls.c,v 1.30 1997/10/28 15:59:11 bde Exp $ */ #include <sys/param.h> @@ -129,10 +129,9 @@ struct getfh_args { }; #endif int -getfh(p, uap, retval) +getfh(p, uap) struct proc *p; register struct getfh_args *uap; - int *retval; { register struct vnode *vp; fhandle_t fh; @@ -175,10 +174,9 @@ struct nfssvc_args { }; #endif int -nfssvc(p, uap, retval) +nfssvc(p, uap) struct proc *p; register struct nfssvc_args *uap; - int *retval; { #ifndef NFS_NOSERVER struct nameidata nd; |