diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-09-09 08:25:00 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-09-09 08:25:00 +0000 |
commit | dcd9715348549466ad2fa3b3ec4954f2b0425fc8 (patch) | |
tree | a0fc7ceb2ca990dadf2ae4c01ddc74404944460f | |
parent | b02bdba74968a2671650f7212d6c98fc17f91596 (diff) | |
download | FreeBSD-src-dcd9715348549466ad2fa3b3ec4954f2b0425fc8.zip FreeBSD-src-dcd9715348549466ad2fa3b3ec4954f2b0425fc8.tar.gz |
Prevent namespace pollution in use-land by putting everything used only in
kernel (softc and such) under #ifdef _KERNEL.
Submitted by: bde
-rw-r--r-- | sys/net/if_gre.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net/if_gre.h b/sys/net/if_gre.h index 3196378..84e2e61 100644 --- a/sys/net/if_gre.h +++ b/sys/net/if_gre.h @@ -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 */ |