aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/linedisc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/linedisc.h')
-rw-r--r--sys/sys/linedisc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h
index e192b7cd86ca..f4f611277453 100644
--- a/sys/sys/linedisc.h
+++ b/sys/sys/linedisc.h
@@ -191,7 +191,7 @@ struct linesw {
u_char l_hotchar;
};
-#ifdef KERNEL
+#ifdef _KERNEL
extern struct linesw linesw[];
extern int nlinesw;
@@ -214,7 +214,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;
@@ -285,6 +285,6 @@ extern devfs_create_t *devfs_create_hook;
#define GID_GAMES 13
#define GID_DIALER 68
-#endif /* KERNEL */
+#endif /* _KERNEL */
#endif /* !_SYS_CONF_H_ */