From a69d1dfbcb7bc187703b1767f289aba2bd4edbb6 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 8 Dec 1995 23:23:00 +0000 Subject: Julian forgot to make the *devsw structures static. --- sys/dev/scd/scd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/scd') 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", -- cgit v1.1