diff options
author | harti <harti@FreeBSD.org> | 2003-07-15 10:22:55 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-07-15 10:22:55 +0000 |
commit | 0bdfbc1a71328cd3b8d77a7fcc5e08435e743403 (patch) | |
tree | 06e22fbbbbc24c6ba5e70e1f2b40f265a56c85fb /sys/net/if_atm.h | |
parent | 55e0e26eb44fbe187961180ff74c4d1c853a73a8 (diff) | |
download | FreeBSD-src-0bdfbc1a71328cd3b8d77a7fcc5e08435e743403.zip FreeBSD-src-0bdfbc1a71328cd3b8d77a7fcc5e08435e743403.tar.gz |
Protect a kernel structure by _KERNEL.
Diffstat (limited to 'sys/net/if_atm.h')
-rw-r--r-- | sys/net/if_atm.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |