summaryrefslogtreecommitdiffstats
path: root/sys/dev/vn
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-08 23:23:00 +0000
committerphk <phk@FreeBSD.org>1995-12-08 23:23:00 +0000
commita69d1dfbcb7bc187703b1767f289aba2bd4edbb6 (patch)
tree0408fdddf8ea8eeab5dc960ead9a7c96a2e301bd /sys/dev/vn
parent5a5b07fa54887595e0725dba442af441c842786a (diff)
downloadFreeBSD-src-a69d1dfbcb7bc187703b1767f289aba2bd4edbb6.zip
FreeBSD-src-a69d1dfbcb7bc187703b1767f289aba2bd4edbb6.tar.gz
Julian forgot to make the *devsw structures static.
Diffstat (limited to 'sys/dev/vn')
-rw-r--r--sys/dev/vn/vn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c
index 68ba760..54510e3 100644
--- a/sys/dev/vn/vn.c
+++ b/sys/dev/vn/vn.c
@@ -102,11 +102,11 @@ static d_strategy_t vnstrategy;
#define CDEV_MAJOR 43
#define BDEV_MAJOR 15
extern struct cdevsw vn_cdevsw;
-struct bdevsw vn_bdevsw =
+static struct bdevsw vn_bdevsw =
{ vnopen, vnclose, vnstrategy, vnioctl, /*15*/
vndump, vnsize, 0, "vn", &vn_cdevsw, -1 };
-struct cdevsw vn_cdevsw =
+static struct cdevsw vn_cdevsw =
{ vnopen, vnclose, rawread, rawwrite, /*43*/
vnioctl, nostop, nullreset, nodevtotty,/* vn */
seltrue, nommap, vnstrategy, "vn",
OpenPOWER on IntegriCloud