diff options
author | bde <bde@FreeBSD.org> | 1995-09-08 11:09:15 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-09-08 11:09:15 +0000 |
commit | b25431cbeaa50fe70b0f15fa43efe4c6d7f2ff4d (patch) | |
tree | f4e80802be364373e2af54078a8dce6859e0bf8d /sys/dev/scd | |
parent | e53a3f96a9138cb046bae063dd3264ab4a213466 (diff) | |
download | FreeBSD-src-b25431cbeaa50fe70b0f15fa43efe4c6d7f2ff4d.zip FreeBSD-src-b25431cbeaa50fe70b0f15fa43efe4c6d7f2ff4d.tar.gz |
Fix benign type mismatches in devsw functions. 82 out of 299 devsw
functions were wrong.
Diffstat (limited to 'sys/dev/scd')
-rw-r--r-- | sys/dev/scd/scd.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c index 9f50105..6a8ee5d 100644 --- a/sys/dev/scd/scd.c +++ b/sys/dev/scd/scd.c @@ -41,7 +41,7 @@ */ -/* $Id: scd.c,v 1.4 1995/05/09 12:25:58 rgrimes Exp $ */ +/* $Id: scd.c,v 1.5 1995/05/30 08:03:02 rgrimes Exp $ */ /* Please send any comments to micke@dynas.se */ @@ -142,10 +142,10 @@ struct scd_data { } scd_data[NSCD]; /* prototypes */ -int scdopen(dev_t dev); -int scdclose(dev_t dev); +int scdopen(dev_t dev, int flags, int fmt, struct proc *p); +int scdclose(dev_t dev, int flags, int fmt, struct proc *p); void scdstrategy(struct buf *bp); -int scdioctl(dev_t dev, int cmd, caddr_t addr, int flags); +int scdioctl(dev_t dev, int cmd, caddr_t addr, int flags, struct proc *p); int scdsize(dev_t dev); static int bcd2bin(bcd_t b); @@ -230,7 +230,7 @@ int scd_attach(struct isa_device *dev) } int -scdopen(dev_t dev) +scdopen(dev_t dev, int flags, int fmt, struct proc *p) { int unit,part,phys; int rc; @@ -283,7 +283,7 @@ scdopen(dev_t dev) } int -scdclose(dev_t dev) +scdclose(dev_t dev, int flags, int fmt, struct proc *p) { int unit,part,phys; struct scd_data *cd; @@ -419,7 +419,7 @@ scd_start(int unit) } int -scdioctl(dev_t dev, int cmd, caddr_t addr, int flags) +scdioctl(dev_t dev, int cmd, caddr_t addr, int flags, struct proc *p) { struct scd_data *cd; int unit,part; |