diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-20 12:28:19 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-20 12:28:19 +0000 |
commit | dc28f16d8ee251f2510631cfa4e043bbe4a82a8b (patch) | |
tree | b30ebd2ba22c7e9d5ffdbf31bdb98b8ca31511f9 /cpukit/libnetworking/netinet/in.h | |
parent | 2004-04-20 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-dc28f16d8ee251f2510631cfa4e043bbe4a82a8b.tar.bz2 |
Use -D_KERNEL instead of -DKERNEL for greater FreeBSD compliance.
Diffstat (limited to 'cpukit/libnetworking/netinet/in.h')
-rw-r--r-- | cpukit/libnetworking/netinet/in.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libnetworking/netinet/in.h b/cpukit/libnetworking/netinet/in.h index f330e38f0f..7b3b0ca834 100644 --- a/cpukit/libnetworking/netinet/in.h +++ b/cpukit/libnetworking/netinet/in.h @@ -252,7 +252,7 @@ struct in_addr { #define INADDR_ANY (u_long)0x00000000 #define INADDR_BROADCAST (u_long)0xffffffff /* must be masked */ -#ifndef KERNEL +#ifndef _KERNEL #define INADDR_NONE 0xffffffff /* -1 return */ #endif @@ -414,7 +414,7 @@ struct ip_mreq { } -#ifdef KERNEL +#ifdef _KERNEL struct ifnet; struct mbuf; /* forward declarations for Standard C */ int in_broadcast __P((struct in_addr, struct ifnet *)); @@ -438,6 +438,6 @@ extern ip_nat_ctl_t *ip_nat_ctl_ptr; #define IP_NAT_IN 0x00000001 #define IP_NAT_OUT 0x00000002 -#endif /* KERNEL */ +#endif /* _KERNEL */ #endif |