From d2f265fab89fec2b4d450a74eea4489401c61b1a Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 8 Dec 1995 23:23:00 +0000 Subject: Julian forgot to make the *devsw structures static. --- sys/dev/mcd/mcd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/mcd') diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index ee2e03ad45f9..8bd278201dcb 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/mcd.c @@ -40,7 +40,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mcd.c,v 1.51 1995/11/29 14:39:46 julian Exp $ + * $Id: mcd.c,v 1.52 1995/12/08 11:14:34 julian Exp $ */ static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; @@ -222,11 +222,11 @@ static d_strategy_t mcdstrategy; #define CDEV_MAJOR 29 #define BDEV_MAJOR 7 extern struct cdevsw mcd_cdevsw; -struct bdevsw mcd_bdevsw = +static struct bdevsw mcd_bdevsw = { mcdopen, mcdclose, mcdstrategy, mcdioctl, /*7*/ nxdump, mcdsize, 0, "mcd", &mcd_cdevsw, -1 }; -struct cdevsw mcd_cdevsw = +static struct cdevsw mcd_cdevsw = { mcdopen, mcdclose, rawread, nowrite, /*29*/ mcdioctl, nostop, nullreset, nodevtotty, seltrue, nommap, mcdstrategy, "mcd", -- cgit v1.3