NetBSD Problem Report #2048
From gnats Thu Feb 8 00:13:35 1996
Received: from bloom-beacon.MIT.EDU by pain.lcs.mit.edu (8.6.12/8.6.12) with ESMTP id XAA00861 for <gnats-bugs@gnats.netbsd.org>; Wed, 7 Feb 1996 23:48:53 -0500
Message-Id: <199602080444.XAA20920@pattern.arlington.ma.us>
Date: Wed, 7 Feb 1996 23:44:35 -0500
From: John Kohl <jtk@kolvir.arlington.ma.us>
Reply-To: jtk@kolvir.arlington.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: st_erase prototype missing in sys/scsi/st.c
X-Send-Pr-Version: 3.95
>Number: 2048
>Category: kern
>Synopsis: st_erase prototype missing in sys/scsi/st.c
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 08 00:20:01 +0000 1996
>Closed-Date: Fri Feb 09 15:00:03 +0000 1996
>Last-Modified: Fri Feb 09 15:00:34 +0000 1996
>Originator: John Kohl
>Release: 1.1
>Organization:
NetBSD Kernel Hackers `R` Us
>Environment:
System: NetBSD pattern 1.1 NetBSD 1.1 (PATTERN) #0: Fri Nov 24 11:01:09 EST 1995 jtk@pattern:/u1/NetBSD-current/src/sys/arch/i386/compile/PATTERN i386
>Description:
there is no prototype for st_erase in st.c
>How-To-Repeat:
read the code
>Fix:
*** st.c 1996/02/08 04:35:52 1.1.1.7
--- st.c 1996/02/08 04:43:42
***************
*** 265,270 ****
--- 265,271 ----
int st_touch_tape __P((struct st_softc *));
int st_write_filemarks __P((struct st_softc *, int number, int flags));
int st_load __P((struct st_softc *, u_int type, int flags));
+ int st_erase __P((struct st_softc *, int full, int flags));
int st_mode_select __P((struct st_softc *, int flags));
void ststrategy __P((struct buf *));
int st_check_eod __P((struct st_softc *, boolean, int *, int));
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: briggs
State-Changed-When: Fri Feb 9 10:00:03 EST 1996
State-Changed-Why:
Patch applied. Thanks.
>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.