Source-Changes-HG archive

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

[src/trunk]: src/sys Include opt_diagnostic.h.



details:   https://anonhg.NetBSD.org/src/rev/ac28eb337b88
branches:  trunk
changeset: 340289:ac28eb337b88
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sun Aug 30 07:55:45 2015 +0000

description:
Include opt_diagnostic.h.

diffstat:

 sys/lib/libkern/arch/hppa/bcopy.S |  5 +++--
 sys/lib/libkern/libkern.h         |  6 +++++-
 sys/sys/cdefs.h                   |  6 +++++-
 3 files changed, 13 insertions(+), 4 deletions(-)

diffs (66 lines):

diff -r 99b8da92a5d3 -r ac28eb337b88 sys/lib/libkern/arch/hppa/bcopy.S
--- a/sys/lib/libkern/arch/hppa/bcopy.S Sun Aug 30 07:52:30 2015 +0000
+++ b/sys/lib/libkern/arch/hppa/bcopy.S Sun Aug 30 07:55:45 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcopy.S,v 1.14 2011/01/31 12:10:58 skrll Exp $ */
+/*     $NetBSD: bcopy.S,v 1.15 2015/08/30 07:55:45 uebayasi Exp $      */
 
 /*
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -38,6 +38,7 @@
 
 #if defined(SPCOPY) && !defined(_STANDALONE)
 
+#include "opt_diagnostic.h"
 #include "opt_multiprocessor.h"
 
 #include <machine/cpu.h>
@@ -49,7 +50,7 @@
 #include <machine/reg.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-RCSID("$NetBSD: bcopy.S,v 1.14 2011/01/31 12:10:58 skrll Exp $")
+RCSID("$NetBSD: bcopy.S,v 1.15 2015/08/30 07:55:45 uebayasi Exp $")
 #endif /* LIBC_SCCS and not lint */
 
 /*
diff -r 99b8da92a5d3 -r ac28eb337b88 sys/lib/libkern/libkern.h
--- a/sys/lib/libkern/libkern.h Sun Aug 30 07:52:30 2015 +0000
+++ b/sys/lib/libkern/libkern.h Sun Aug 30 07:55:45 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: libkern.h,v 1.120 2015/05/29 19:38:59 matt Exp $       */
+/*     $NetBSD: libkern.h,v 1.121 2015/08/30 07:55:45 uebayasi Exp $   */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -34,6 +34,10 @@
 #ifndef _LIB_LIBKERN_LIBKERN_H_
 #define _LIB_LIBKERN_LIBKERN_H_
 
+#ifdef _KERNEL_OPT
+#include "opt_diagnostic.h"
+#endif
+
 #include <sys/types.h>
 #include <sys/inttypes.h>
 #include <sys/null.h>
diff -r 99b8da92a5d3 -r ac28eb337b88 sys/sys/cdefs.h
--- a/sys/sys/cdefs.h   Sun Aug 30 07:52:30 2015 +0000
+++ b/sys/sys/cdefs.h   Sun Aug 30 07:55:45 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdefs.h,v 1.124 2015/01/25 20:45:18 christos Exp $     */
+/*     $NetBSD: cdefs.h,v 1.125 2015/08/30 07:55:45 uebayasi Exp $     */
 
 /* * Copyright (c) 1991, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -36,6 +36,10 @@
 #ifndef        _SYS_CDEFS_H_
 #define        _SYS_CDEFS_H_
 
+#ifdef _KERNEL_OPT
+#included "opt_diagnostic.h"
+#endif
+
 /*
  * Macro to test if we're using a GNU C compiler of a specific vintage
  * or later, for e.g. features that appeared in a particular version



Home | Main Index | Thread Index | Old Index