From 15b9bcb121e1f3735a2c98a11afdb52a03301d7e Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 29 Dec 1999 04:46:21 +0000 Subject: Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come. --- sys/net/if_var.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/net/if_var.h') diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 8d497d4..80de848 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -210,7 +210,7 @@ typedef void if_init_f_t __P((void *)); } \ } -#ifdef KERNEL +#ifdef _KERNEL #define IF_ENQ_DROP(ifq, m) if_enq_drop(ifq, m) #if defined(__GNUC__) && defined(MT_HEADER) @@ -245,7 +245,7 @@ int if_enq_drop __P((struct ifqueue *, struct mbuf *)); #define IF_MINMTU 72 #define IF_MAXMTU 65535 -#endif /* KERNEL */ +#endif /* _KERNEL */ /* * The ifaddr structure contains information about one address @@ -306,7 +306,7 @@ struct ifmultiaddr { void *ifma_protospec; /* protocol-specific state, if any */ }; -#ifdef KERNEL +#ifdef _KERNEL #define IFAFREE(ifa) \ do { \ if ((ifa)->ifa_refcnt <= 0) \ @@ -364,7 +364,7 @@ struct ifmultiaddr *ifmaof_ifpforaddr __P((struct sockaddr *, int if_simloop __P((struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, int hlen)); -#endif /* KERNEL */ +#endif /* _KERNEL */ #endif /* !_NET_IF_VAR_H_ */ -- cgit v1.1