aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/isa/loran.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-12-29 04:46:21 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-12-29 04:46:21 +0000
commit664a31e4967a61ec61870f45adc2f1400617993e (patch)
treef6e6a9488aad27e9b1298da3083e214c1c209505 /sys/i386/isa/loran.c
parenta0b57fb738b797a1aa540b8360260b19b6470bc4 (diff)
downloadsrc-664a31e4967a61ec61870f45adc2f1400617993e.tar.gz
src-664a31e4967a61ec61870f45adc2f1400617993e.zip
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
Notes
Notes: svn path=/head/; revision=55205
Diffstat (limited to 'sys/i386/isa/loran.c')
-rw-r--r--sys/i386/isa/loran.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/isa/loran.c b/sys/i386/isa/loran.c
index be4515078d8b..7964c6a0ac94 100644
--- a/sys/i386/isa/loran.c
+++ b/sys/i386/isa/loran.c
@@ -20,7 +20,7 @@
*
*/
-#ifdef KERNEL
+#ifdef _KERNEL
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysctl.h>
@@ -30,7 +30,7 @@
#include <sys/malloc.h>
#include <i386/isa/isa_device.h>
-#endif /* KERNEL */
+#endif /* _KERNEL */
typedef TAILQ_HEAD(, datapoint) dphead_t;
@@ -95,7 +95,7 @@ struct datapoint {
#define PGUARD 990 /* program guard time (cycle) (990!) */
-#ifdef KERNEL
+#ifdef _KERNEL
#define NLORAN 10 /* Allow ten minor devices */
@@ -642,4 +642,4 @@ static struct cdevsw loran_cdevsw = {
/* bmaj */ -1
};
-#endif /* KERNEL */
+#endif /* _KERNEL */