Subject: kern/2470: missing prototypes
To: None <gnats-bugs@NetBSD.ORG>
From: None <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 05/25/1996 21:14:38
>Number: 2470
>Category: kern
>Synopsis: missing prototypes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 25 15:35:04 1996
>Last-Modified:
>Originator: Bernd Ernesti
>Organization:
>Release: NetBSD-current 25-5-96
>Environment:
System: NetBSD arresum 1.1B NetBSD 1.1B (VEEGO) #152: Sat May 25 17:42:20 MET DST 1996 bernd@arresum:/src/sys/arch/amiga/compile/VEEGO amiga
>Description:
Some prototype are missing after the recent network changes.
>How-To-Repeat:
Make a kernel with -Wall and -Wstrict-prototypes and you get this:
../../../../kern/uipc_usrreq.c:67: warning: function declaration isn't a prototype
../../../../kern/uipc_usrreq.c:91: warning: function declaration isn't a prototype
../../../../kern/uipc_usrreq.c:106: warning: function declaration isn't a prototype
../../../../net/raw_usrreq.c:160: warning: function declaration isn't a prototype
../../../../net/raw_usrreq.c:170: warning: function declaration isn't a prototype
../../../../net/raw_usrreq.c: In function `raw_usrreq':
../../../../net/raw_usrreq.c:189: warning: unused variable `len'
../../../../netccitt/pk_subr.c: In function `pk_listen':
../../../../netccitt/pk_subr.c:393: warning: unused variable `pp'
../../../../netccitt/pk_usrreq.c:71: warning: function declaration isn't a prototype
../../../../netccitt/pk_usrreq.c:83: warning: function declaration isn't a prototype
../../../../netinet/raw_ip.c:267: warning: function declaration isn't a prototype
../../../../netinet/raw_ip.c:285: warning: function declaration isn't a prototype
>Fix:
>Audit-Trail:
>Unformatted: