Date: Thu, 8 May 1997 15:03:10 +0200 (CEST) From: Philippe Charnier <charnier@xp11.frmug.org> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/3548: `struct proc' declared inside parameter list Message-ID: <199705081303.PAA20931@xp11.frmug.org> Resent-Message-ID: <199705082230.PAA23615@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 3548 >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:01 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705081303.PAA20931>