From ceba6236e0045f673c0037f91cbf013c4fa72481 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sat, 11 Nov 1995 00:27:00 +0000 Subject: [PATCH] Fixed type of vfs_free_netcred(). Removed redundant declaration of insmntque(). --- sys/kern/vfs_export.c | 6 ++---- sys/kern/vfs_subr.c | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index 32cdf7061bd..ca0621e1ea0 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.13 (Berkeley) 4/18/94 - * $Id: vfs_subr.c,v 1.38 1995/11/07 05:09:43 dyson Exp $ + * $Id: vfs_subr.c,v 1.39 1995/11/09 08:13:48 bde Exp $ */ /* @@ -64,8 +64,6 @@ #include -void insmntque __P((struct vnode *, struct mount *)); - enum vtype iftovt_tab[16] = { VNON, VFIFO, VCHR, VNON, VDIR, VNON, VBLK, VNON, VREG, VNON, VLNK, VNON, VSOCK, VNON, VNON, VBAD, @@ -1437,7 +1435,7 @@ out: static int vfs_free_netcred(rn, w) struct radix_node *rn; - caddr_t w; + void *w; { register struct radix_node_head *rnh = (struct radix_node_head *) w; diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 32cdf7061bd..ca0621e1ea0 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.13 (Berkeley) 4/18/94 - * $Id: vfs_subr.c,v 1.38 1995/11/07 05:09:43 dyson Exp $ + * $Id: vfs_subr.c,v 1.39 1995/11/09 08:13:48 bde Exp $ */ /* @@ -64,8 +64,6 @@ #include -void insmntque __P((struct vnode *, struct mount *)); - enum vtype iftovt_tab[16] = { VNON, VFIFO, VCHR, VNON, VDIR, VNON, VBLK, VNON, VREG, VNON, VLNK, VNON, VSOCK, VNON, VNON, VBAD, @@ -1437,7 +1435,7 @@ out: static int vfs_free_netcred(rn, w) struct radix_node *rn; - caddr_t w; + void *w; { register struct radix_node_head *rnh = (struct radix_node_head *) w;