From owner-freebsd-bugs Thu May 8 15:30:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA23638 for bugs-outgoing; Thu, 8 May 1997 15:30:07 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA23626; Thu, 8 May 1997 15:30:04 -0700 (PDT) Resent-Date: Thu, 8 May 1997 15:30:04 -0700 (PDT) Resent-Message-Id: <199705082230.PAA23626@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, charnier@xp11.frmug.org 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 ; 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 Reply-To: charnier@xp11.frmug.org To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/3549: `struct proc' declared inside parameter list Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3549 >Category: kern >Synopsis: `struct proc' declared inside parameter list >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 8 15:30:03 PDT 1997 >Last-Modified: >Originator: Philippe Charnier >Organization: >Release: FreeBSD 3.0-CURRENT i386 >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. >Audit-Trail: >Unformatted: