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

prototype
This commit is contained in:
drochner 2000-03-15 16:44:48 +00:00
parent e3dbad5a3c
commit aa1de89bdf
4 changed files with 8 additions and 4 deletions

View File

@ -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,

View File

@ -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

View File

@ -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

View File

@ -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