aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/snoop.h
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-09-08 11:09:15 +0000
committerBruce Evans <bde@FreeBSD.org>1995-09-08 11:09:15 +0000
commit60039670571f2fa09c10fc576649ba2a1a1caab6 (patch)
treef4e80802be364373e2af54078a8dce6859e0bf8d /sys/sys/snoop.h
parent6ad37c02fba9856a197ffcbe1f8b3d121c83aca1 (diff)
downloadsrc-60039670571f2fa09c10fc576649ba2a1a1caab6.tar.gz
src-60039670571f2fa09c10fc576649ba2a1a1caab6.zip
Fix benign type mismatches in devsw functions. 82 out of 299 devsw
functions were wrong.
Notes
Notes: svn path=/head/; revision=10624
Diffstat (limited to 'sys/sys/snoop.h')
-rw-r--r--sys/sys/snoop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/snoop.h b/sys/sys/snoop.h
index 2b7180b6219e..339dd96a8fa4 100644
--- a/sys/sys/snoop.h
+++ b/sys/sys/snoop.h
@@ -70,12 +70,12 @@ struct snoop {
#ifdef KERNEL
/* XXX several wrong storage classes and types here. */
-int snpclose __P((dev_t dev, int flag));
+int snpclose __P((dev_t dev, int flags, int fmt, struct proc *p));
int snp_detach __P((struct snoop *snp));
int snpdown __P((struct snoop *snp));
int snpin __P((struct snoop *snp, char *buf, int n));
int snpinc __P((struct snoop *snp, char c));
-int snpioctl __P((dev_t dev, int cmd, caddr_t data, int flag));
+int snpioctl __P((dev_t dev, int cmd, caddr_t data, int flags, struct proc *p));
int snpopen __P((dev_t dev, int flag, int mode, struct proc *p));
int snpread __P((dev_t dev, struct uio *uio, int flag));
int snpselect __P((dev_t dev, int rw, struct proc *p));