Prevent namespace pollution in use-land by putting everything used only in

kernel (softc and such) under #ifdef _KERNEL.

Submitted by:   bde
This commit is contained in:
Maxim Sobolev 2002-09-09 08:25:00 +00:00
parent d4f82fcf34
commit ccd6d236b8

View File

@ -41,6 +41,7 @@
#define _NET_IF_GRE_H
#include <sys/ioccom.h>
#ifdef _KERNEL
#include <sys/queue.h>
struct gre_softc {
@ -141,6 +142,8 @@ struct mobip_h {
#define GRE_TTL 30
#endif /* _KERNEL */
/*
* ioctls needed to manipulate the interface
*/