diff options
author | Peter Wemm <peter@FreeBSD.org> | 1999-01-17 20:53:48 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1999-01-17 20:53:48 +0000 |
commit | 8e203b83a73f03729c96c1b2c6686551d8182f75 (patch) | |
tree | 58d191f500f2353bc19c3792868345bcd7b9205b /sys/net/ppp_tty.c | |
parent | 1351d07f0d46aeddc171e81958f0ebe719d72802 (diff) | |
download | src-8e203b83a73f03729c96c1b2c6686551d8182f75.tar.gz src-8e203b83a73f03729c96c1b2c6686551d8182f75.zip |
Undo #undef KERNEL hack for vnode.h to avoid vnode_if.h.
XXX It probably makes sense to have a flag for bsd.kern.mk to avoid these
rules.
XXX IO_NDELAY seems to be the main reason for it, when used in a cdevsw
read or write "flag" context. Perhaps a redundant declaration
somewhere like sys/conf.h might help remove the need for vnode.h in
these device drivers in the first place.
Notes
Notes:
svn path=/head/; revision=42769
Diffstat (limited to 'sys/net/ppp_tty.c')
-rw-r--r-- | sys/net/ppp_tty.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c index dc48c8f2b410..74e7172f960c 100644 --- a/sys/net/ppp_tty.c +++ b/sys/net/ppp_tty.c @@ -70,7 +70,7 @@ * Paul Mackerras (paulus@cs.anu.edu.au). */ -/* $Id: ppp_tty.c,v 1.36 1998/06/07 17:12:07 dfr Exp $ */ +/* $Id: ppp_tty.c,v 1.37 1998/06/20 16:39:35 peter Exp $ */ #include "ppp.h" #if NPPP > 0 @@ -89,14 +89,7 @@ #include <sys/tty.h> #include <sys/conf.h> #include <sys/uio.h> - -/* - * XXX stop <sys/vnode.h> from including <vnode_if.h>. <vnode_if.h> doesn't - * exist if we are an LKM. - */ -#undef KERNEL -# include <sys/vnode.h> -#define KERNEL +#include <sys/vnode.h> #ifdef __i386__ #include <i386/isa/intr_machdep.h> |