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/kern/tty_snoop.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/kern/tty_snoop.c')
-rw-r--r-- | sys/kern/tty_snoop.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/kern/tty_snoop.c b/sys/kern/tty_snoop.c index 503836b..abfc765 100644 --- a/sys/kern/tty_snoop.c +++ b/sys/kern/tty_snoop.c @@ -339,9 +339,11 @@ detach_notty: } int -snpclose(dev, flag) +snpclose(dev, flags, fmt, p) dev_t dev; - int flag; + int flags; + int fmt; + struct proc *p; { register int unit = minor(dev); struct snoop *snp = &snoopsw[unit]; @@ -367,11 +369,12 @@ snpdown(snp) int -snpioctl(dev, cmd, data, flag) +snpioctl(dev, cmd, data, flags, p) dev_t dev; int cmd; caddr_t data; - int flag; + int flags; + struct proc *p; { int unit = minor(dev), s; dev_t tdev; |