Subject: port-hp300/1918: mis-declaration of hilqfree in hil.c
To: None <netbsd-gnats@wizardz.com>
From: Daniel Hagerty <hag@wizardz.com>
List: netbsd-bugs
Date: 01/09/1996 03:30:42
>Number:         1918
>Category:       port-hp300
>Synopsis:       mis-declaration of hilqfree in hil.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan  9 03:50:02 1996
>Last-Modified:
>Originator:     Daniel Hagerty
>Organization:
	
>Release:        gnats-3.2
>Environment:
    	
System: NetBSD zardoz.wizardz.com 1.1 NetBSD 1.1 (ZARDOZ) #56: Thu Nov 30 23:24:36 EST 1995 hag@:/src/netbsd/sys/arch/i386/compile/ZARDOZ i386


>Description:
	hilqfree from arch/hp300/dev/hil.c is not declared
properly. The argument 'p' doesn't have a declaration and is assummed
int. This doesn't show up in kernel's that don't have DEBUG set.
>How-To-Repeat:
>Fix:
	This patch should fix it.

diff -c -r1.1.1.2 hil.c
*** hil.c	1995/12/13 13:26:49	1.1.1.2
--- hil.c	1996/01/09 08:27:04
***************
*** 1012,1017 ****
--- 1012,1018 ----
  hilqfree(hilp, qnum, p)
  	register struct hil_softc *hilp;
  	register int qnum;
+ 	struct proc *p;
  {
  
  #ifdef DEBUG
>Audit-Trail:
>Unformatted: