Subject: kern/2048: st_erase prototype missing in sys/scsi/st.c
To: None <gnats-bugs@NetBSD.ORG>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: netbsd-bugs
Date: 02/07/1996 23:44:35
>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 (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb  8 00:20:01 1996
>Last-Modified:
>Originator:     John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release:        1.1
>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));
>Audit-Trail:
>Unformatted: