summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/sys/conf.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/sys/conf.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/sys/conf.h')
-rw-r--r--cpukit/libnetworking/sys/conf.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libnetworking/sys/conf.h b/cpukit/libnetworking/sys/conf.h
index 92d99d9d07..207acfe33d 100644
--- a/cpukit/libnetworking/sys/conf.h
+++ b/cpukit/libnetworking/sys/conf.h
@@ -94,7 +94,7 @@ struct bdevsw {
int d_maj; /* the major number we were assigned */
};
-#ifdef KERNEL
+#ifdef _KERNEL
extern struct bdevsw *bdevsw[];
#endif
@@ -118,7 +118,7 @@ struct cdevsw {
int d_maj;
};
-#ifdef KERNEL
+#ifdef _KERNEL
extern struct cdevsw *cdevsw[];
#endif
@@ -136,7 +136,7 @@ struct linesw {
l_modem_t *l_modem;
};
-#ifdef KERNEL
+#ifdef _KERNEL
extern struct linesw linesw[];
extern int nlinesw;
@@ -158,7 +158,7 @@ struct swdevt {
#define SW_SEQUENTIAL 0x02
#define sw_freed sw_flags /* XXX compat */
-#ifdef KERNEL
+#ifdef _KERNEL
d_open_t noopen;
d_close_t noclose;
d_read_t noread;
@@ -221,7 +221,7 @@ int isdisk __P((dev_t dev, int type));
int iskmemdev __P((dev_t dev));
int iszerodev __P((dev_t dev));
void setconf __P((void));
-#endif /* KERNEL */
+#endif /* _KERNEL */
#include <machine/conf.h>