From cb226aaa624a8d8e6c7c5f9aaaa1b415f0e2cf4d Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Thu, 6 Nov 1997 19:29:57 +0000 Subject: 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. --- sys/miscfs/portal/portal_vnops.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/miscfs/portal') diff --git a/sys/miscfs/portal/portal_vnops.c b/sys/miscfs/portal/portal_vnops.c index 05b6b583ea59..e622cff39570 100644 --- a/sys/miscfs/portal/portal_vnops.c +++ b/sys/miscfs/portal/portal_vnops.c @@ -35,7 +35,7 @@ * * @(#)portal_vnops.c 8.14 (Berkeley) 5/21/95 * - * $Id: portal_vnops.c,v 1.27 1997/10/26 20:55:20 phk Exp $ + * $Id: portal_vnops.c,v 1.28 1997/10/27 13:33:41 bde Exp $ */ /* @@ -84,10 +84,9 @@ portal_closefd(p, fd) { int error; struct close_args ua; - int rc; ua.fd = fd; - error = close(p, &ua, &rc); + error = close(p, &ua); /* * We should never get an error, and there isn't anything * we could do if we got one, so just print a message. -- cgit v1.2.3