From e6b34a1dbb3754e8f98affebae6c3e252063bfc7 Mon Sep 17 00:00:00 2001 From: Hartmut Brandt Date: Tue, 15 Jul 2003 10:22:55 +0000 Subject: [PATCH] Protect a kernel structure by _KERNEL. --- sys/net/if_atm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/net/if_atm.h b/sys/net/if_atm.h index d809d16780b..9712da8c003 100644 --- a/sys/net/if_atm.h +++ b/sys/net/if_atm.h @@ -159,6 +159,7 @@ struct atmio_vcctable { #define ATM_RATE_622M 1412830 #define ATM_RATE_2_4G 5651320 +#ifdef _KERNEL /* * Common fields for all ATM interfaces. Each driver's softc must start with * this structure. @@ -169,6 +170,7 @@ struct ifatm { void *phy; /* usually SUNI */ void *ngpriv; /* netgraph link */ }; +#endif /* * Keep structures in sync with ng_atm.h