Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/common Sprinkle #ifdef _KERNEL_OPT.



details:   https://anonhg.NetBSD.org/src/rev/f3cc83d2b0ac
branches:  trunk
changeset: 348693:f3cc83d2b0ac
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Nov 03 03:37:06 2016 +0000

description:
Sprinkle #ifdef _KERNEL_OPT.

diffstat:

 sys/compat/common/kern_time_30.c |  6 ++++--
 sys/compat/common/rtsock_14.c    |  6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (44 lines):

diff -r 68f82419814b -r f3cc83d2b0ac sys/compat/common/kern_time_30.c
--- a/sys/compat/common/kern_time_30.c  Thu Nov 03 01:22:59 2016 +0000
+++ b/sys/compat/common/kern_time_30.c  Thu Nov 03 03:37:06 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_time_30.c,v 1.4 2011/01/19 10:21:16 tsutsui Exp $ */
+/*     $NetBSD: kern_time_30.c,v 1.5 2016/11/03 03:37:06 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -36,9 +36,11 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_time_30.c,v 1.4 2011/01/19 10:21:16 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_time_30.c,v 1.5 2016/11/03 03:37:06 riastradh Exp $");
 
+#ifdef _KERNEL_OPT
 #include "opt_ntp.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>
diff -r 68f82419814b -r f3cc83d2b0ac sys/compat/common/rtsock_14.c
--- a/sys/compat/common/rtsock_14.c     Thu Nov 03 01:22:59 2016 +0000
+++ b/sys/compat/common/rtsock_14.c     Thu Nov 03 03:37:06 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtsock_14.c,v 1.4 2011/07/17 20:54:50 joerg Exp $      */
+/*     $NetBSD: rtsock_14.c,v 1.5 2016/11/03 03:37:06 riastradh Exp $  */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,9 +61,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtsock_14.c,v 1.4 2011/07/17 20:54:50 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtsock_14.c,v 1.5 2016/11/03 03:37:06 riastradh Exp $");
 
+#ifdef _KERNEL_OPT
 #include "opt_inet.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index