summaryrefslogtreecommitdiff
path: root/sys/dev/vn
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-12-09 20:34:16 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-12-09 20:34:16 +0000
commitba43d44d3a6c07e054a3d90ae891f52a00ec3750 (patch)
treea7f6094b78401ebe3357547aae6f2da136b4c2c4 /sys/dev/vn
parentf2d49a145f0296fb6776a7364b1b9c0649ceab79 (diff)
Notes
Diffstat (limited to 'sys/dev/vn')
-rw-r--r--sys/dev/vn/vn.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c
index 54510e3eaaec..7e8c756ded99 100644
--- a/sys/dev/vn/vn.c
+++ b/sys/dev/vn/vn.c
@@ -144,18 +144,15 @@ struct vn_softc {
/* sc_flags */
#define VNF_INITED 0x01
-struct vn_softc *vn_softc[NVN];
-u_long vn_options;
+static struct vn_softc *vn_softc[NVN];
+static u_long vn_options;
#define IFOPT(vn,opt) if (((vn)->sc_options|vn_options) & (opt))
-/*
- * XXX these decls should be static (without __P(())) or elsewhere.
- */
-void vniodone __P((struct buf *bp));
-int vnsetcred __P((struct vn_softc *vn, struct ucred *cred));
-void vnshutdown __P((void));
-void vnclear __P((struct vn_softc *vn));
+static void vniodone (struct buf *bp);
+static int vnsetcred (struct vn_softc *vn, struct ucred *cred);
+static void vnshutdown (void);
+static void vnclear (struct vn_softc *vn);
static int
vnclose(dev_t dev, int flags, int mode, struct proc *p)