Subject: kern/855: if.c won't compile because of "ifconf" decl; fix included
To: None <gnats-admin@NetBSD.ORG>
From: Lon Willett <lon%softt.uucp@math.utah.edu>
List: netbsd-bugs
Date: 03/08/1995 15:20:04
>Number: 855
>Category: kern
>Synopsis: if.c won't compile because of "ifconf" decl; fix included
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 8 15:20:02 1995
>Originator: Lon Willett
>Organization:
none
>Release: NetBSD-current 8 Mar 95
>Environment:
System: NetBSD hilly 1.0A NetBSD 1.0A (HILLY) #150: Wed Mar 8 13:40:25 MST 1995 lon@hilly:/usr/src/sys/arch/i386/compile/HILLY i386
>Description:
"if.c" and "if.h" disagree on the prototype for "ifconf", so if.c
won't compile when trying to build a kernel.
>How-To-Repeat:
Try to build a kernel.
>Fix:
Here's a "diff -u".
--- usr/src/sys/net/if.c.orig Mon Nov 21 15:47:58 1994
+++ usr/src/sys/net/if.c Wed Mar 8 09:52:52 1995
@@ -548,7 +548,7 @@
/*ARGSUSED*/
int
ifconf(cmd, data)
- int cmd;
+ u_long cmd;
caddr_t data;
{
register struct ifconf *ifc = (struct ifconf *)data;
>Audit-Trail:
>Unformatted: