summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/portal
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-03-28 07:58:53 +0000
committerbde <bde@FreeBSD.org>1995-03-28 07:58:53 +0000
commit4f64fe43e7186660d972f9eae509424f1addaa8a (patch)
treee153346dd5a88815c9c3e7f6748d7766c40a6b0d /sys/miscfs/portal
parent6ad7636d4a24ed5873a051888c579f5ef47677c4 (diff)
downloadFreeBSD-src-4f64fe43e7186660d972f9eae509424f1addaa8a.zip
FreeBSD-src-4f64fe43e7186660d972f9eae509424f1addaa8a.tar.gz
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
Diffstat (limited to 'sys/miscfs/portal')
-rw-r--r--sys/miscfs/portal/portal_vnops.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/miscfs/portal/portal_vnops.c b/sys/miscfs/portal/portal_vnops.c
index b25b543..56f52fb 100644
--- a/sys/miscfs/portal/portal_vnops.c
+++ b/sys/miscfs/portal/portal_vnops.c
@@ -35,7 +35,7 @@
*
* @(#)portal_vnops.c 8.8 (Berkeley) 1/21/94
*
- * $Id: portal_vnops.c,v 1.3 1994/08/20 03:48:52 davidg Exp $
+ * $Id: portal_vnops.c,v 1.4 1994/09/21 03:47:05 wollman Exp $
*/
/*
@@ -70,9 +70,7 @@ portal_closefd(p, fd)
int fd;
{
int error;
- struct {
- int fd;
- } ua;
+ struct close_args ua;
int rc;
ua.fd = fd;
OpenPOWER on IntegriCloud