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/ufs | |
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/ufs')
-rw-r--r-- | sys/ufs/lfs/lfs_syscalls.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/ufs/lfs/lfs_syscalls.c b/sys/ufs/lfs/lfs_syscalls.c index 2024109..4d2e06b 100644 --- a/sys/ufs/lfs/lfs_syscalls.c +++ b/sys/ufs/lfs/lfs_syscalls.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)lfs_syscalls.c 8.10 (Berkeley) 5/14/95 - * $Id: lfs_syscalls.c,v 1.18 1997/03/22 08:03:51 bde Exp $ + * $Id: lfs_syscalls.c,v 1.19 1997/03/23 00:45:20 bde Exp $ */ #include <sys/param.h> @@ -94,10 +94,9 @@ struct lfs_markv_args { }; #endif int -lfs_markv(p, uap, retval) +lfs_markv(p, uap) struct proc *p; struct lfs_markv_args *uap; - int *retval; { struct segment *sp; BLOCK_INFO *blkp; @@ -273,10 +272,9 @@ struct lfs_bmapv_args { }; #endif int -lfs_bmapv(p, uap, retval) +lfs_bmapv(p, uap) struct proc *p; struct lfs_bmapv_args *uap; - int *retval; { BLOCK_INFO *blkp; struct mount *mntp; @@ -343,10 +341,9 @@ struct lfs_segclean_args { }; #endif int -lfs_segclean(p, uap, retval) +lfs_segclean(p, uap) struct proc *p; struct lfs_segclean_args *uap; - int *retval; { CLEANERINFO *cip; SEGUSE *sup; @@ -406,10 +403,9 @@ struct lfs_segwait_args { }; #endif int -lfs_segwait(p, uap, retval) +lfs_segwait(p, uap) struct proc *p; struct lfs_segwait_args *uap; - int *retval; { struct mount *mntp; struct timeval atv; |