From 0bdfbc1a71328cd3b8d77a7fcc5e08435e743403 Mon Sep 17 00:00:00 2001 From: harti Date: Tue, 15 Jul 2003 10:22:55 +0000 Subject: Protect a kernel structure by _KERNEL. --- sys/net/if_atm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/net') diff --git a/sys/net/if_atm.h b/sys/net/if_atm.h index d809d16..9712da8 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 -- cgit v1.1