Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/net/if_tun.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/net/if_tun.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.51.4.2 retrieving revision 1.52 diff -u -p -r1.51.4.2 -r1.52 --- src/sys/net/if_tun.c 2002/08/29 00:56:43 1.51.4.2 +++ src/sys/net/if_tun.c 2002/07/29 16:53:30 1.52 @@ -1,4 +1,4 @@ -/* $NetBSD: if_tun.c,v 1.51.4.2 2002/08/29 00:56:43 gehenna Exp $ */ +/* $NetBSD: if_tun.c,v 1.52 2002/07/29 16:53:30 atatat Exp $ */ /* * Copyright (c) 1988, Julian Onions @@ -15,7 +15,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.51.4.2 2002/08/29 00:56:43 gehenna Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.52 2002/07/29 16:53:30 atatat Exp $"); #include "tun.h" @@ -91,18 +91,6 @@ static void tunstart __P((struct ifnet * #endif static struct tun_softc *tun_find_unit __P((dev_t)); -dev_type_open(tunopen); -dev_type_close(tunclose); -dev_type_read(tunread); -dev_type_write(tunwrite); -dev_type_ioctl(tunioctl); -dev_type_poll(tunpoll); - -const struct cdevsw tun_cdevsw = { - tunopen, tunclose, tunread, tunwrite, tunioctl, - nostop, notty, tunpoll, nommap, -}; - void tunattach(unused) int unused;