summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net/if.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-20 12:28:19 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-20 12:28:19 +0000
commitdc28f16d8ee251f2510631cfa4e043bbe4a82a8b (patch)
treeb30ebd2ba22c7e9d5ffdbf31bdb98b8ca31511f9 /cpukit/libnetworking/net/if.h
parent2004-04-20 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-dc28f16d8ee251f2510631cfa4e043bbe4a82a8b.tar.bz2
Use -D_KERNEL instead of -DKERNEL for greater FreeBSD compliance.
Diffstat (limited to '')
-rw-r--r--cpukit/libnetworking/net/if.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libnetworking/net/if.h b/cpukit/libnetworking/net/if.h
index 39b6cc0d39..08a74953f0 100644
--- a/cpukit/libnetworking/net/if.h
+++ b/cpukit/libnetworking/net/if.h
@@ -268,7 +268,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)
@@ -295,7 +295,7 @@ int if_enq_drop __P((struct ifqueue *, struct mbuf *));
#endif
#endif
-#endif /* KERNEL */
+#endif /* _KERNEL */
#define IFQ_MAXLEN 50
#define IFNET_SLOWHZ 1 /* granularity is 1 second */
@@ -422,7 +422,7 @@ struct ifconf {
#include <net/if_arp.h>
-#ifdef KERNEL
+#ifdef _KERNEL
#define IFAFREE(ifa) \
if ((ifa)->ifa_refcnt <= 0) \
ifafree(ifa); \
@@ -469,6 +469,6 @@ void ifafree __P((struct ifaddr *));
int looutput __P((struct ifnet *,
struct mbuf *, struct sockaddr *, struct rtentry *));
-#endif /* KERNEL */
+#endif /* _KERNEL */
#endif /* !_NET_IF_H_ */