summaryrefslogtreecommitdiffstats
path: root/sys/fs/unionfs/union_subr.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-03 14:54:48 +0000
committerbde <bde@FreeBSD.org>1995-12-03 14:54:48 +0000
commit64a1fca498baa82452b7832f03fb52d55b65861e (patch)
treea9998e1f2bc07a055eec218c76160973d186c314 /sys/fs/unionfs/union_subr.c
parent1a0a9cf4f5008de06188ddc5eefe1b6e156a792b (diff)
downloadFreeBSD-src-64a1fca498baa82452b7832f03fb52d55b65861e.zip
FreeBSD-src-64a1fca498baa82452b7832f03fb52d55b65861e.tar.gz
Added prototypes.
Removed some unnecessary #includes.
Diffstat (limited to 'sys/fs/unionfs/union_subr.c')
-rw-r--r--sys/fs/unionfs/union_subr.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/fs/unionfs/union_subr.c b/sys/fs/unionfs/union_subr.c
index 7d51365..d7916a6 100644
--- a/sys/fs/unionfs/union_subr.c
+++ b/sys/fs/unionfs/union_subr.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)union_subr.c 8.4 (Berkeley) 2/17/94
- * $Id: union_subr.c,v 1.6 1995/05/30 08:07:25 rgrimes Exp $
+ * $Id: union_subr.c,v 1.7 1995/08/17 11:53:50 bde Exp $
*/
#include <sys/param.h>
@@ -52,6 +52,8 @@
#include <sys/proc.h>
+extern int union_init __P((void));
+
/* must be power of two, otherwise change UNION_HASH() */
#define NHASH 32
@@ -62,6 +64,12 @@
static LIST_HEAD(unhead, union_node) unhead[NHASH];
static int unvplock[NHASH];
+static int union_list_lock __P((int ix));
+static void union_list_unlock __P((int ix));
+extern void union_updatevp __P((struct union_node *un,
+ struct vnode *uppervp,
+ struct vnode *lowervp));
+
int
union_init()
{
OpenPOWER on IntegriCloud