From charnier@xp11.frmug.org  Thu May  8 15:24:45 1997
Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA23308
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 8 May 1997 15:24:32 -0700 (PDT)
Received: (from uucp@localhost)
	by frmug.org (8.8.5/8.8.5/frmug-2.0) with UUCP id AAA24758
	for FreeBSD-gnats-submit@freebsd.org; Fri, 9 May 1997 00:24:26 +0200 (MET DST)
Received: (from charnier@localhost)
	by xp11.frmug.org (8.8.5/8.8.5/xp11-uucp-1.1) id PAA20931;
	Thu, 8 May 1997 15:03:10 +0200 (CEST)
Message-Id: <199705081303.PAA20931@xp11.frmug.org>
Date: Thu, 8 May 1997 15:03:10 +0200 (CEST)
From: Philippe Charnier <charnier@xp11.frmug.org>
Reply-To: charnier@xp11.frmug.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: `struct proc' declared inside parameter list
X-Send-Pr-Version: 3.2

>Number:         3549
>Category:       kern
>Synopsis:       `struct proc' declared inside parameter list
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May  8 15:30:03 PDT 1997
>Closed-Date:    Fri May 9 03:45:46 PDT 1997
>Last-Modified:  Fri May  9 03:46:08 PDT 1997
>Originator:     Philippe Charnier
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

	

>Description:

While compiling, I get:
In file included from /usr/src/usr.bin/netstat/mroute.c:50:
/sys/sys/protosw.h:84: warning: `struct proc' declared inside parameter list
/sys/sys/protosw.h:84: warning: its scope is only this definition or declaration,
/sys/sys/protosw.h:84: warning: which is probably not what you want.

>How-To-Repeat:

>Fix:

Index: sys/sys/protosw.h
===================================================================
RCS file: /home2h/FreeBSD.cvsroot/src/sys/sys/protosw.h,v
retrieving revision 1.17
diff -u -r1.17 protosw.h
--- protosw.h	1997/04/27 20:01:27	1.17
+++ protosw.h	1997/05/06 07:56:13
@@ -45,6 +45,7 @@
 struct sockproto;
 struct stat;
 struct uio;
+struct proc;
 
 /*
  * Protocol switch table.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jmg 
State-Changed-When: Fri May 9 03:45:46 PDT 1997 
State-Changed-Why:  
duplicate of 3548 (seems hub is having problems) 
>Unformatted:
