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/cd.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/cd.c')
-rw-r--r-- | sys/scsi/cd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 9fd6a4a..6e79c6d 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992 * - * $Id: cd.c,v 1.47 1995/11/29 14:40:51 julian Exp $ + * $Id: cd.c,v 1.48 1995/12/08 11:18:38 julian Exp $ */ #define SPLCD splbio @@ -70,11 +70,11 @@ static d_strategy_t cdstrategy; #define CDEV_MAJOR 15 #define BDEV_MAJOR 6 extern struct cdevsw cd_cdevsw; -struct bdevsw cd_bdevsw = +static struct bdevsw cd_bdevsw = { cdopen, cdclose, cdstrategy, cdioctl, /*6*/ nxdump, cdsize, 0, "cd", &cd_cdevsw, -1 }; -struct cdevsw cd_cdevsw = +static struct cdevsw cd_cdevsw = { cdopen, cdclose, rawread, nowrite, /*15*/ cdioctl, nostop, nullreset, nodevtotty,/* cd */ seltrue, nommap, cdstrategy, "cd", |