Date: Wed, 30 Apr 1997 10:30:21 +0900 (JST) From: Michael Hancock <michaelh@cet.co.jp> To: current@freebsd.org Subject: Patch for vputrele - Too much public scope Message-ID: <Pine.SV4.3.95.970430102845.10105A-100000@parkplace.cet.co.jp> In-Reply-To: <199704292241.PAA00779@phaeton.artisoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Let's staticize this, it looks like an fs api. Index: vfs_subr.c =================================================================== RCS file: /jaz/cvs/src/sys/kern/vfs_subr.c,v retrieving revision 1.83 diff -u -r1.83 vfs_subr.c --- vfs_subr.c 1997/04/25 06:47:12 1.83 +++ vfs_subr.c 1997/04/30 00:44:33 @@ -78,7 +78,7 @@ static void vclean __P((struct vnode *vp, int flags, struct proc *p)); static void vgonel __P((struct vnode *vp, struct proc *p)); unsigned long numvnodes; -extern void vputrele __P((struct vnode *vp, int put)); +static void vputrele __P((struct vnode *vp, int put)); enum vtype iftovt_tab[16] = { VNON, VFIFO, VCHR, VNON, VDIR, VNON, VBLK, VNON, @@ -1074,7 +1074,7 @@ * Vnode put/release. * If count drops to zero, call inactive routine and return to freelist. */ -void +static void vputrele(vp, put) struct vnode *vp; int put;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.95.970430102845.10105A-100000>