Subject: port-amiga/1569: missing prototypes for amiga/amiga/machdep.c functions
To: None <gnats-bugs@gnats.netbsd.org>
From: Ignatios Souvatzis <is@beverly.rhein.de>
List: netbsd-bugs
Date: 10/05/1995 14:09:10
>Number:         1569
>Category:       port-amiga
>Synopsis:       *_sicallback() and *_isr() prototypes are missing
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct  5 22:20:05 1995
>Last-Modified:
>Originator:     Ignatios Souvatzis
>Organization:
	Dis-
>Release:        950930
>Environment:
	
System: NetBSD beverly 1.0A NetBSD 1.0A (BEVERLY) #199: Thu Oct 5 09:51:03 MET 1995 is@beverly:/usr/src/sys/arch/amiga/compile/BEVERLY amiga


>Description:
	Prototypes for:
	add_sicallback, alloc_sicallback, rem_sicallback,
	add_isr, remove_isr
	are missing.
>How-To-Repeat:
	compile a kernel with -Wall -Werror
>Fix:
	Apply this patch to amiga/amiga/isr.h:

Index: isr.h
===================================================================
RCS file: /monster/cvs/src/sys/arch/amiga/amiga/isr.h,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 isr.h
*** isr.h	1995/10/03 14:45:08	1.1.1.1
--- isr.h	1995/10/05 13:00:42
***************
*** 45,47 ****
--- 45,55 ----
  
  #define	NISR		3
  #define	ISRIPL(x)	((x) - 3)
+ 
+ #ifdef _KERNEL
+ void add_isr(struct isr *isr);
+ void remove_isr(struct isr *isr);
+ void alloc_sicallback(void);
+ void add_sicallback (void (*fnct) (void *, void *), void *r1, void *r2);
+ void rem_sicallback (void (*fnct) (void *, void *));
+ #endif
>Audit-Trail:
>Unformatted: