Source-Changes-HG archive

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

[src/trunk]: src/sys/arch explicitely #include <sys/systm.h> #if BUS_SPACE_DE...



details:   https://anonhg.NetBSD.org/src/rev/1c47c33d1f6f
branches:  trunk
changeset: 483679:1c47c33d1f6f
user:      drochner <drochner%NetBSD.org@localhost>
date:      Wed Mar 15 16:44:48 2000 +0000

description:
explicitely #include <sys/systm.h> #if BUS_SPACE_DEBUG to get a printf()
prototype

diffstat:

 sys/arch/alpha/include/bus.h   |  3 ++-
 sys/arch/hpcmips/include/bus.h |  3 ++-
 sys/arch/i386/include/bus.h    |  3 ++-
 sys/arch/vax/include/bus.h     |  3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)

diffs (68 lines):

diff -r 9bc691a00aa8 -r 1c47c33d1f6f sys/arch/alpha/include/bus.h
--- a/sys/arch/alpha/include/bus.h      Wed Mar 15 16:31:52 2000 +0000
+++ b/sys/arch/alpha/include/bus.h      Wed Mar 15 16:44:48 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.36 2000/02/26 20:12:56 thorpej Exp $ */
+/* $NetBSD: bus.h,v 1.37 2000/03/15 16:44:48 drochner Exp $ */
 
 /*-
  * Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -78,6 +78,7 @@
 #endif
 
 #ifdef BUS_SPACE_DEBUG
+#include <sys/systm.h> /* for printf() prototype */
 /*
  * Macros for checking the aligned-ness of pointers passed to bus
  * space ops.  Strict alignment is required by the Alpha architecture,
diff -r 9bc691a00aa8 -r 1c47c33d1f6f sys/arch/hpcmips/include/bus.h
--- a/sys/arch/hpcmips/include/bus.h    Wed Mar 15 16:31:52 2000 +0000
+++ b/sys/arch/hpcmips/include/bus.h    Wed Mar 15 16:44:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.4 2000/03/05 10:03:16 shin Exp $   */
+/*     $NetBSD: bus.h,v 1.5 2000/03/15 16:44:49 drochner Exp $   */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -43,6 +43,7 @@
 #include <mips/locore.h>
 
 #ifdef BUS_SPACE_DEBUG
+#include <sys/systm.h> /* for printf() prototype */
 /*
  * Macros for sanity-checking the aligned-ness of pointers passed to
  * bus space ops.  These are not strictly necessary on the x86, but
diff -r 9bc691a00aa8 -r 1c47c33d1f6f sys/arch/i386/include/bus.h
--- a/sys/arch/i386/include/bus.h       Wed Mar 15 16:31:52 2000 +0000
+++ b/sys/arch/i386/include/bus.h       Wed Mar 15 16:44:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.26 2000/03/13 21:10:24 kristerw Exp $        */
+/*     $NetBSD: bus.h,v 1.27 2000/03/15 16:44:50 drochner Exp $        */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -74,6 +74,7 @@
 #include <machine/pio.h>
 
 #ifdef BUS_SPACE_DEBUG
+#include <sys/systm.h> /* for printf() prototype */
 /*
  * Macros for sanity-checking the aligned-ness of pointers passed to
  * bus space ops.  These are not strictly necessary on the x86, but
diff -r 9bc691a00aa8 -r 1c47c33d1f6f sys/arch/vax/include/bus.h
--- a/sys/arch/vax/include/bus.h        Wed Mar 15 16:31:52 2000 +0000
+++ b/sys/arch/vax/include/bus.h        Wed Mar 15 16:44:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.10 2000/03/05 21:22:48 matt Exp $    */
+/*     $NetBSD: bus.h,v 1.11 2000/03/15 16:44:50 drochner Exp $        */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -72,6 +72,7 @@
 #define _VAX_BUS_H_
 
 #ifdef BUS_SPACE_DEBUG
+#include <sys/systm.h> /* for printf() prototype */
 /*
  * Macros for sanity-checking the aligned-ness of pointers passed to
  * bus space ops.  These are not strictly necessary on the VAX, but



Home | Main Index | Thread Index | Old Index