Subject: port-sparc/1036: Type mismatch in sys/arch/sparc/stand/promdev.c
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: Peter Svensson <petersv@df.lth.se>
List: netbsd-bugs
Date: 05/08/1995 09:20:03
>Number:         1036
>Category:       port-sparc
>Synopsis:       type mismatch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May  8 09:20:02 1995
>Originator:     Peter Svensson
>Organization:
The Computer Society at Lund Univ. and Lund Inst. of Technology
"	"
>Release:        950507<NetBSD-current source date>
>Environment:
SparcStation 1, NetBSD - current
	
System: NetBSD piau.df.lth.se 1.0A NetBSD 1.0A (PIAU.SCSI) #2: Thu Jan 19 13:46:27 PST 1995 petersv@piau.df.lth.se:/usr/src/sys/arch/sparc/compile/PIAU.SCSI sparc


>Description:
There is a type inconsistency in /usr/src/sys/arch/sparc/stand/promdev.c. 
The declaration of "devopen" omits const. The file 
/usr/src/sys/lib/libsa/stand.h includes it.
	
>How-To-Repeat:
cd /usr/src/sys/arch/sparc/stand ; make
	
>Fix:
Add const to the declaration of devopen in 
/usr/src/sys/arch/sparc/stand/promdev.c

>Audit-Trail:
>Unformatted: