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/od.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/od.c')
-rw-r--r-- | sys/scsi/od.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/od.c b/sys/scsi/od.c index 568d343..7fe37b4 100644 --- a/sys/scsi/od.c +++ b/sys/scsi/od.c @@ -28,7 +28,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: od.c,v 1.5 1995/11/29 14:40:57 julian Exp $ + * $Id: od.c,v 1.6 1995/12/08 11:18:45 julian Exp $ */ /* @@ -124,11 +124,11 @@ static d_strategy_t odstrategy; #define CDEV_MAJOR 70 #define BDEV_MAJOR 20 extern struct cdevsw od_cdevsw; -struct bdevsw od_bdevsw = +static struct bdevsw od_bdevsw = { odopen, odclose, odstrategy, odioctl, /*20*/ nxdump, odsize, 0, "od", &od_cdevsw, -1 }; -struct cdevsw od_cdevsw = +static struct cdevsw od_cdevsw = { odopen, odclose, rawread, rawwrite, /*70*/ odioctl, nostop, nullreset, nodevtotty, seltrue, nommap, odstrategy, "od", |