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/rtems | |
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/rtems')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_bsdnet.h | 4 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_bsdnet_internal.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet.h b/cpukit/libnetworking/rtems/rtems_bsdnet.h index b35cd3f740..e7ac7cd116 100644 --- a/cpukit/libnetworking/rtems/rtems_bsdnet.h +++ b/cpukit/libnetworking/rtems/rtems_bsdnet.h @@ -15,14 +15,14 @@ #if defined(__INSIDE_RTEMS_BSD_TCPIP_STACK__) #undef _COMPILING_BSD_KERNEL_ -#undef KERNEL +#undef _KERNEL #undef INET #undef NFS #undef DIAGNOSTIC #undef BOOTP_COMPAT #define _COMPILING_BSD_KERNEL_ -#define KERNEL +#define _KERNEL #define INET #define NFS #define DIAGNOSTIC diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h index 61371aa4ca..2f84138346 100644 --- a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h +++ b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h @@ -87,7 +87,7 @@ struct sigaltstack { int ss_flags; /* SS_DISABLE and/or SS_ONSTACK */ }; -#ifdef KERNEL +#ifdef _KERNEL typedef int boolean_t; typedef struct vm_page *vm_page_t; #endif |