summaryrefslogtreecommitdiffstats
path: root/sys/dev/vn
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-09 20:34:16 +0000
committerphk <phk@FreeBSD.org>1995-12-09 20:34:16 +0000
commit713f23c10afac85f1ea1a5ac81afe740a86c692f (patch)
treea7f6094b78401ebe3357547aae6f2da136b4c2c4 /sys/dev/vn
parent68bd73389a2d2d203079881e7e04df6b52ae26e1 (diff)
downloadFreeBSD-src-713f23c10afac85f1ea1a5ac81afe740a86c692f.zip
FreeBSD-src-713f23c10afac85f1ea1a5ac81afe740a86c692f.tar.gz
Staticize.
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 54510e3..7e8c756 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)
OpenPOWER on IntegriCloud