Module Name: src
Committed By: uebayasi
Date: Sun Aug 30 07:55:45 UTC 2015
Modified Files:
src/sys/lib/libkern: libkern.h
src/sys/lib/libkern/arch/hppa: bcopy.S
src/sys/sys: cdefs.h
Log Message:
Include opt_diagnostic.h.
To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 src/sys/lib/libkern/libkern.h
cvs rdiff -u -r1.14 -r1.15 src/sys/lib/libkern/arch/hppa/bcopy.S
cvs rdiff -u -r1.124 -r1.125 src/sys/sys/cdefs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/lib/libkern/libkern.h
diff -u src/sys/lib/libkern/libkern.h:1.120 src/sys/lib/libkern/libkern.h:1.121
--- src/sys/lib/libkern/libkern.h:1.120 Fri May 29 19:38:59 2015
+++ src/sys/lib/libkern/libkern.h Sun Aug 30 07:55:45 2015
@@ -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>
Index: src/sys/lib/libkern/arch/hppa/bcopy.S
diff -u src/sys/lib/libkern/arch/hppa/bcopy.S:1.14 src/sys/lib/libkern/arch/hppa/bcopy.S:1.15
--- src/sys/lib/libkern/arch/hppa/bcopy.S:1.14 Mon Jan 31 12:10:58 2011
+++ src/sys/lib/libkern/arch/hppa/bcopy.S Sun Aug 30 07:55:45 2015
@@ -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 */
/*
Index: src/sys/sys/cdefs.h
diff -u src/sys/sys/cdefs.h:1.124 src/sys/sys/cdefs.h:1.125
--- src/sys/sys/cdefs.h:1.124 Sun Jan 25 20:45:18 2015
+++ src/sys/sys/cdefs.h Sun Aug 30 07:55:45 2015
@@ -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