Subject: kern/3943: Rogue macros in isapnpvar.h
To: None <gnats-bugs@gnats.netbsd.org>
From: Gary D. Duzan <gary@wheel.tiac.net>
List: netbsd-bugs
Date: 08/05/1997 20:03:58
>Number:         3943
>Category:       kern
>Synopsis:       Rogue macros in isapnpvar.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug  5 17:05:01 1997
>Last-Modified:
>Originator:     Gary D. Duzan
>Organization:
>Release:        Sun Aug  3 07:24:13 EDT 1997
>Environment:
System: NetBSD wheel.tiac.net 1.2G NetBSD 1.2G (WHEEL) #0: Tue Jul 29 07:18:27 EDT 1997 gary@wheel.tiac.net:/altroot/local/build/NetBSD/sys/arch/i386/compile/WHEEL i386

>Description:
	There are dummy version of the bus_space_map() and bus_space_unmap()
	in isapnpvar.h which shouldn't be there.
>How-To-Repeat:
	Try to compile userland code that includes bus.h and isapnpvar.h
	and observer the compiler warnings about redefined macros.
>Fix:
	Elide them. Or if there is some other reason to have them there,
	wrap them in #ifdef/#endif for some specific macro.
>Audit-Trail:
>Unformatted: