NetBSD Problem Report #1569
From gnats Thu Oct 5 22:16:48 1995
Received: from uran.informatik.uni-bonn.de (uran.informatik.uni-bonn.de [131.220.8.49]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id WAA00570 for <gnats-bugs@gnats.netbsd.org>; Thu, 5 Oct 1995 22:16:45 -0400
Message-Id: <199510051309.OAA10636@beverly.rhein.de>
Date: Thu, 5 Oct 1995 14:09:10 +0100 (MET)
From: Ignatios Souvatzis <is@beverly.rhein.de>
Reply-To: is@beverly.rhein.de
To: gnats-bugs@gnats.netbsd.org
Subject: missing prototypes for amiga/amiga/machdep.c functions
X-Send-Pr-Version: 3.95
>Number: 1569
>Category: port-amiga
>Synopsis: *_sicallback() and *_isr() prototypes are missing
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 05 22:20:05 +0000 1995
>Closed-Date: Mon Oct 09 15:19:35 +0000 1995
>Last-Modified: Mon Feb 24 12:27:54 +0000 2014
>Originator: Ignatios Souvatzis
>Release: 950930
>Organization:
Dis-
>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
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: chopps
State-Changed-When: Mon Oct 9 11:19:35 EDT 1995
State-Changed-Why:
add protots
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.