From aa1de89bdf5d1e2de5e77e225286f1adda7b1c0e Mon Sep 17 00:00:00 2001 From: drochner Date: Wed, 15 Mar 2000 16:44:48 +0000 Subject: [PATCH] explicitely #include #if BUS_SPACE_DEBUG to get a printf() prototype --- 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(-) diff --git a/sys/arch/alpha/include/bus.h b/sys/arch/alpha/include/bus.h index 993ba504dab1..c5d314dea249 100644 --- a/sys/arch/alpha/include/bus.h +++ b/sys/arch/alpha/include/bus.h @@ -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 /* 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 --git a/sys/arch/hpcmips/include/bus.h b/sys/arch/hpcmips/include/bus.h index 09a280dc9ad9..b1b7672d7a0c 100644 --- a/sys/arch/hpcmips/include/bus.h +++ b/sys/arch/hpcmips/include/bus.h @@ -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 #ifdef BUS_SPACE_DEBUG +#include /* 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 --git a/sys/arch/i386/include/bus.h b/sys/arch/i386/include/bus.h index a0b0184d166f..f21142416471 100644 --- a/sys/arch/i386/include/bus.h +++ b/sys/arch/i386/include/bus.h @@ -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 #ifdef BUS_SPACE_DEBUG +#include /* 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 --git a/sys/arch/vax/include/bus.h b/sys/arch/vax/include/bus.h index a0ce19c7d12a..fd20fbafeb05 100644 --- a/sys/arch/vax/include/bus.h +++ b/sys/arch/vax/include/bus.h @@ -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 /* 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