summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net/if_dl.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_dl.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 'cpukit/libnetworking/net/if_dl.h')
-rw-r--r--cpukit/libnetworking/net/if_dl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/net/if_dl.h b/cpukit/libnetworking/net/if_dl.h
index 053ae3e92f..d99d15097b 100644
--- a/cpukit/libnetworking/net/if_dl.h
+++ b/cpukit/libnetworking/net/if_dl.h
@@ -72,7 +72,7 @@ struct sockaddr_dl {
#define LLADDR(s) ((caddr_t)((s)->sdl_data + (s)->sdl_nlen))
-#ifndef KERNEL
+#ifndef _KERNEL
#include <sys/cdefs.h>
@@ -81,6 +81,6 @@ void link_addr __P((const char *, struct sockaddr_dl *));
char *link_ntoa __P((const struct sockaddr_dl *));
__END_DECLS
-#endif /* !KERNEL */
+#endif /* !_KERNEL */
#endif