Subject: port-amiga/1284: missing prototype in sys/arch/amiga/isr.h
To: None <gnats-bugs@gnats.netbsd.org>
From: Bernd Ernesti <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 07/26/1995 17:40:00
>Number: 1284
>Category: port-amiga
>Synopsis: missing prototype in sys/arch/amiga/isr.h
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Wed Jul 26 18:05:08 1995
>Last-Modified:
>Originator: Bernd Ernesti
>Organization:
>Release: NetBSD-current 25-07-95
>Environment:
System: NetBSD arresum 1.0A NetBSD 1.0A (VEEGO) #165: Wed Jul 26 17:16:59 MET DST 1995 bernd@arresum:/src/sys/arch/amiga/compile/VEEGO amiga
>Description:
gcc complains about prototypes when you make an kernel and get an
add_isr call
>How-To-Repeat:
make an kernel with -Wall for if_le, if_ed and so on.
>Fix:
Apply this diff:
*** sys/arch/amiga/amiga/isr.h-orig Mon Feb 13 12:08:25 1995
--- sys/arch/amiga/amiga/isr.h Wed Jul 26 15:43:00 1995
***************
*** 43,47 ****
--- 43,50 ----
int isr_ipl;
};
+ void add_isr __P((struct isr *));
+ void remove_isr __P((struct isr *));
+
#define NISR 3
#define ISRIPL(x) ((x) - 3)
>Audit-Trail:
>Unformatted: