diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2020-01-23 22:27:19 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2020-01-23 22:27:19 +0000 |
commit | 8d9577c1931ab2f62e342bce41c2c0f6dc333e37 (patch) | |
tree | 27ec884ad5f343d956f2c41c7fbe158add5e257f /sys/net | |
parent | d468846d12e58f1493a508f8cfb75893956af3db (diff) |
don't prototype the cdev entrypoints, sys/conf.h already does it.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_tun.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index 8bef697c2d7..79775911f2d 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tun.c,v 1.199 2020/01/23 03:10:18 dlg Exp $ */ +/* $OpenBSD: if_tun.c,v 1.200 2020/01/23 22:27:18 dlg Exp $ */ /* $NetBSD: if_tun.c,v 1.24 1996/05/07 02:40:48 thorpej Exp $ */ /* @@ -102,23 +102,6 @@ int tundebug = TUN_DEBUG; void tunattach(int); -/* cdev functions */ -int tunopen(dev_t, int, int, struct proc *); -int tunclose(dev_t, int, int, struct proc *); -int tunioctl(dev_t, u_long, caddr_t, int, struct proc *); -int tunread(dev_t, struct uio *, int); -int tunwrite(dev_t, struct uio *, int); -int tunpoll(dev_t, int, struct proc *); -int tunkqfilter(dev_t, struct knote *); - -int tapopen(dev_t, int, int, struct proc *); -int tapclose(dev_t, int, int, struct proc *); -int tapioctl(dev_t, u_long, caddr_t, int, struct proc *); -int tapread(dev_t, struct uio *, int); -int tapwrite(dev_t, struct uio *, int); -int tappoll(dev_t, int, struct proc *); -int tapkqfilter(dev_t, struct knote *); - int tun_dev_open(struct tun_softc *, int, int, struct proc *); int tun_dev_close(struct tun_softc *, int, int, struct proc *); int tun_dev_ioctl(struct tun_softc *, u_long, caddr_t, int, struct proc *); |