diff options
author | bde <bde@FreeBSD.org> | 1995-09-08 16:27:55 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-09-08 16:27:55 +0000 |
commit | 4fcd8ab4f82467679e1f4c42076bb127d5e30f5b (patch) | |
tree | 8723d510c22d6eed1e3bfbb4e336fe4bb7b99795 /sys/i386/isa/asc.c | |
parent | 83e376836a0c08c0bcf77e3b5ce51d87fe9578a3 (diff) | |
download | FreeBSD-src-4fcd8ab4f82467679e1f4c42076bb127d5e30f5b.zip FreeBSD-src-4fcd8ab4f82467679e1f4c42076bb127d5e30f5b.tar.gz |
3 out of 5 new devsw functions had benign type mismatches.
Diffstat (limited to 'sys/i386/isa/asc.c')
-rw-r--r-- | sys/i386/isa/asc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/i386/isa/asc.c b/sys/i386/isa/asc.c index ba497b1..7c914cd 100644 --- a/sys/i386/isa/asc.c +++ b/sys/i386/isa/asc.c @@ -76,7 +76,7 @@ #ifdef DEVFS #include <sys/devfsext.h> -int ascopen(dev_t dev, int flag); +extern d_open_t ascopen; #endif #endif /* FREEBSD_1_X */ @@ -533,7 +533,7 @@ ascintr(int unit) ***/ int -ascopen(dev_t dev, int flag) +ascopen(dev_t dev, int flags, int fmt, struct proc *p) { int unit = UNIT(minor(dev)) & UNIT_MASK; struct asc_unit *scu = unittab + unit; @@ -607,7 +607,7 @@ asc_startread(struct asc_unit *scu) ***/ int -ascclose(dev_t dev, int flag) +ascclose(dev_t dev, int flags, int fmt, struct proc *p) { int unit = UNIT(minor(dev)); struct asc_unit *scu = unittab + unit; @@ -665,7 +665,7 @@ pbm_init(struct asc_unit *scu) ***/ int -ascread(dev_t dev, struct uio *uio) +ascread(dev_t dev, struct uio *uio, int ioflag) { int unit = UNIT(minor(dev)); struct asc_unit *scu = unittab + unit; @@ -753,7 +753,7 @@ ascread(dev_t dev, struct uio *uio) ***/ int -ascioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p) +ascioctl(dev_t dev, int cmd, caddr_t data, int flags, struct proc *p) { int unit = UNIT(minor(dev)); struct asc_unit *scu = unittab + unit; |