diff options
author | phk <phk@FreeBSD.org> | 1995-12-08 23:23:00 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-12-08 23:23:00 +0000 |
commit | a69d1dfbcb7bc187703b1767f289aba2bd4edbb6 (patch) | |
tree | 0408fdddf8ea8eeab5dc960ead9a7c96a2e301bd /sys/scsi/sd.c | |
parent | 5a5b07fa54887595e0725dba442af441c842786a (diff) | |
download | FreeBSD-src-a69d1dfbcb7bc187703b1767f289aba2bd4edbb6.zip FreeBSD-src-a69d1dfbcb7bc187703b1767f289aba2bd4edbb6.tar.gz |
Julian forgot to make the *devsw structures static.
Diffstat (limited to 'sys/scsi/sd.c')
-rw-r--r-- | sys/scsi/sd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index fa70096..92604f8 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992 * - * $Id: sd.c,v 1.75 1995/12/07 12:47:48 davidg Exp $ + * $Id: sd.c,v 1.76 1995/12/08 11:18:53 julian Exp $ */ #define SPLSD splbio @@ -105,11 +105,11 @@ static d_strategy_t sdstrategy; #define CDEV_MAJOR 13 #define BDEV_MAJOR 4 extern struct cdevsw sd_cdevsw; /* hold off the complaints for a second */ -struct bdevsw sd_bdevsw = +static struct bdevsw sd_bdevsw = { sdopen, sdclose, sdstrategy, sdioctl, /*4*/ sddump, sdsize, 0, "sd", &sd_cdevsw, -1 }; -struct cdevsw sd_cdevsw = +static struct cdevsw sd_cdevsw = { sdopen, sdclose, rawread, rawwrite, /*13*/ sdioctl, nostop, nullreset, nodevtotty, seltrue, nommap, sdstrategy, "sd", |