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/i386/isa/ctx.c | |
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/i386/isa/ctx.c')
-rw-r--r-- | sys/i386/isa/ctx.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/i386/isa/ctx.c b/sys/i386/isa/ctx.c index 1124471..3cec50d 100644 --- a/sys/i386/isa/ctx.c +++ b/sys/i386/isa/ctx.c @@ -8,7 +8,7 @@ * of this software, nor does the author assume any responsibility * for damages incurred with its use. * - * $Id: ctx.c,v 1.5 1995/04/12 20:47:40 wollman Exp $ + * $Id: ctx.c,v 1.6 1995/05/30 08:01:27 rgrimes Exp $ */ /* @@ -206,7 +206,7 @@ ctxattach(struct isa_device * devp) } int -ctxopen(dev_t dev, int flag) +ctxopen(dev_t dev, int flags, int fmt, struct proc *p) { struct ctx_soft_registers *sr; u_char unit; @@ -262,7 +262,7 @@ ctxopen(dev_t dev, int flag) } int -ctxclose(dev_t dev, int flag) +ctxclose(dev_t dev, int flags, int fmt, struct proc *p) { int unit; @@ -275,7 +275,7 @@ ctxclose(dev_t dev, int flag) } int -ctxwrite(dev_t dev, struct uio * uio) +ctxwrite(dev_t dev, struct uio * uio, int ioflag) { int unit, status = 0; int page, count, offset; @@ -320,7 +320,7 @@ ctxwrite(dev_t dev, struct uio * uio) } int -ctxread(dev_t dev, struct uio * uio) +ctxread(dev_t dev, struct uio * uio, int ioflag) { int unit, status = 0; int page, count, offset; @@ -363,7 +363,7 @@ ctxread(dev_t dev, struct uio * uio) } int -ctxioctl(dev_t dev, int cmd, caddr_t data, int flag) +ctxioctl(dev_t dev, int cmd, caddr_t data, int flags, struct proc *p) { int error; int unit, i; |