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/net/bpf.h | |
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/net/bpf.h')
-rw-r--r-- | sys/net/bpf.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h index af3edd8..8ac0ed0 100644 --- a/sys/net/bpf.h +++ b/sys/net/bpf.h @@ -37,7 +37,7 @@ * * @(#)bpf.h 8.1 (Berkeley) 6/10/93 * - * $Id: bpf.h,v 1.4 1995/05/30 08:07:52 rgrimes Exp $ + * $Id: bpf.h,v 1.5 1995/06/15 18:10:59 pst Exp $ */ #ifndef _NET_BPF_H_ @@ -239,11 +239,11 @@ struct bpf_insn { #ifdef KERNEL int bpf_validate __P((struct bpf_insn *, int)); -int bpfopen __P((dev_t, int)); -int bpfclose __P((dev_t, int)); -int bpfread __P((dev_t, struct uio *)); -int bpfwrite __P((dev_t, struct uio *)); -int bpfioctl __P((dev_t, int, caddr_t, int)); +int bpfopen __P((dev_t, int, int, struct proc *)); +int bpfclose __P((dev_t, int, int, struct proc *)); +int bpfread __P((dev_t, struct uio *, int)); +int bpfwrite __P((dev_t, struct uio *, int)); +int bpfioctl __P((dev_t, int, caddr_t, int, struct proc *)); int bpf_select __P((dev_t, int, struct proc *)); void bpf_tap __P((caddr_t, u_char *, u_int)); void bpf_mtap __P((caddr_t, struct mbuf *)); |