NetBSD Problem Report #855

From gnats  Wed Mar  8 15:05:09 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id PAA21847 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Wed, 8 Mar 1995 15:05:07 -0800
Message-Id: <199503082305.QAA05148@willett.math.utah.edu>
Date: Wed, 8 Mar 1995 14:01:13 MST
From: Lon Willett <lon%softt.uucp@math.utah.edu>
Reply-To: willett@math.utah.edu
To: gnats-bugs@NetBSD.ORG
Subject: if.c won't compile because of "ifconf" decl; fix included
X-Send-Pr-Version: 3.2

>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
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 08 15:20:02 +0000 1995
>Closed-Date:    Wed Mar 22 15:00:22 +0000 1995
>Last-Modified:  
>Originator:     Lon Willett
>Release:        NetBSD-current 8 Mar 95
>Organization:
none
>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;
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Wed Mar 22 07:00:22 PST 1995 
State-Changed-Why:  
Already fixed. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.