summaryrefslogtreecommitdiffstats
path: root/sys/dev/scd
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/scd
parent5a5b07fa54887595e0725dba442af441c842786a (diff)
downloadFreeBSD-src-a69d1dfbcb7bc187703b1767f289aba2bd4edbb6.zip
FreeBSD-src-a69d1dfbcb7bc187703b1767f289aba2bd4edbb6.tar.gz
Julian forgot to make the *devsw structures static.
Diffstat (limited to 'sys/dev/scd')
-rw-r--r--sys/dev/scd/scd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c
index a111bba..4768a44 100644
--- a/sys/dev/scd/scd.c
+++ b/sys/dev/scd/scd.c
@@ -41,7 +41,7 @@
*/
-/* $Id: scd.c,v 1.12 1995/11/29 14:39:53 julian Exp $ */
+/* $Id: scd.c,v 1.13 1995/12/08 11:15:01 julian Exp $ */
/* Please send any comments to micke@dynas.se */
@@ -199,11 +199,11 @@ static d_strategy_t scdstrategy;
#define CDEV_MAJOR 45
#define BDEV_MAJOR 16
extern struct cdevsw scd_cdevsw;
-struct bdevsw scd_bdevsw =
+static struct bdevsw scd_bdevsw =
{ scdopen, scdclose, scdstrategy, scdioctl, /*16*/
nxdump, scdsize, 0, "scd", &scd_cdevsw, -1 };
-struct cdevsw scd_cdevsw =
+static struct cdevsw scd_cdevsw =
{ scdopen, scdclose, rawread, nowrite, /*45*/
scdioctl, nostop, nullreset, nodevtotty,/* sony cd */
seltrue, nommap, scdstrategy, "scd",
OpenPOWER on IntegriCloud