From 60039670571f2fa09c10fc576649ba2a1a1caab6 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Fri, 8 Sep 1995 11:09:15 +0000 Subject: Fix benign type mismatches in devsw functions. 82 out of 299 devsw functions were wrong. --- sys/sys/snoop.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/sys/snoop.h') 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)); -- cgit v1.2.3