Subject: kern/2063: procfs_rw() prototyped twice, differently.
To: None <gnats-bugs@NetBSD.ORG>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: netbsd-bugs
Date: 02/10/1996 22:35:33
>Number:         2063
>Category:       kern
>Synopsis:       procfs_rw() prototyped twice, differently.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 10 23:20:09 1996
>Last-Modified:
>Originator:     John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release:        1.1
>Environment:
	
System: NetBSD pattern 1.1A NetBSD 1.1A (PATTERN) #16: Sat Feb 10 18:24:41 EST 1996 jtk@pattern:/u3/NetBSD-current/src/sys/arch/i386/compile/PATTERN i386


>Description:
procfs_rw() is prototyped in procfs_subr.c and procfs_vnops.c, with
different args.

>How-To-Repeat:
grep for it:

procfs_subr.c:54:int procfs_rw __P((struct vop_read_args *));
procfs_vnops.c:101:int  procfs_rw       __P((void *));

>Fix:

put it in a header file (procfs.h)

>Audit-Trail:
>Unformatted: