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/radix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net/radix.h') diff --git a/sys/net/radix.h b/sys/net/radix.h index f68f67a..899d535 100644 --- a/sys/net/radix.h +++ b/sys/net/radix.h @@ -140,7 +140,7 @@ struct radix_node_head { struct radix_node rnh_nodes[3]; /* empty tree for common case */ }; -#ifndef KERNEL +#ifndef _KERNEL #define Bcmp(a, b, n) bcmp(((char *)(a)), ((char *)(b)), (n)) #define Bcopy(a, b, n) bcopy(((char *)(a)), ((char *)(b)), (unsigned)(n)) #define Bzero(p, n) bzero((char *)(p), (int)(n)); @@ -152,7 +152,7 @@ struct radix_node_head { #define Bzero(p, n) bzero((caddr_t)(p), (unsigned)(n)); #define R_Malloc(p, t, n) (p = (t) malloc((unsigned long)(n), M_RTABLE, M_DONTWAIT)) #define Free(p) free((caddr_t)p, M_RTABLE); -#endif /*KERNEL*/ +#endif /* _KERNEL */ void rn_init __P((void)); int rn_inithead __P((void **, int)); -- cgit v1.1