Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/rasops Use _KERNEL_OPT.



details:   https://anonhg.NetBSD.org/src/rev/b8c7e31394e1
branches:  trunk
changeset: 964555:b8c7e31394e1
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Aug 07 10:51:57 2019 +0000

description:
Use _KERNEL_OPT.

diffstat:

 sys/dev/rasops/rasops.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r b75cf61b57e7 -r b8c7e31394e1 sys/dev/rasops/rasops.c
--- a/sys/dev/rasops/rasops.c   Wed Aug 07 10:36:19 2019 +0000
+++ b/sys/dev/rasops/rasops.c   Wed Aug 07 10:51:57 2019 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: rasops.c,v 1.108 2019/08/02 23:24:37 rin Exp $        */
+/*      $NetBSD: rasops.c,v 1.109 2019/08/07 10:51:57 rin Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,11 +30,14 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.108 2019/08/02 23:24:37 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.109 2019/08/07 10:51:57 rin Exp $");
 
+#ifdef _KERNEL_OPT
 #include "opt_rasops.h"
+#include "opt_wsmsgattrs.h"
+#endif
+
 #include "rasops_glue.h"
-#include "opt_wsmsgattrs.h"
 
 #include <sys/param.h>
 #include <sys/bswap.h>



Home | Main Index | Thread Index | Old Index