From owner-cvs-all Fri Sep 15 1:47:31 2000 Delivered-To: cvs-all@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id 1C2D837B423 for ; Fri, 15 Sep 2000 01:47:25 -0700 (PDT) Received: (qmail 30081 invoked from network); 15 Sep 2000 08:47:21 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 15 Sep 2000 08:47:21 -0000 Date: Fri, 15 Sep 2000 19:47:18 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Doug Barton Cc: Mike Smith , Warner Losh , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: ucred.h + mountd problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 14 Sep 2000, Doug Barton wrote: > Here is the error I mentioned. Full log available if anyone wants > it. > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast > -qual -fformat-extensions -ansi -g -nostdinc -I- > -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf > -mpreferr > ed-stack-boundary=2 ../../nfs/nfs_srvcache.c > In file included from ../../sys/mount.h:40, > from ../../nfs/nfs_srvcache.c:47: > ../../sys/ucred.h:60: warning: `struct proc' declared inside parameter > list > ../../sys/ucred.h:60: warning: its scope is only this definition or > declaration, which is probably not what you want. Fixed here a few seconds after it was broken: diff -c2 ucred.h~ ucred.h *** ucred.h~ Wed Sep 6 21:26:28 2000 --- ucred.h Sat Sep 9 03:02:43 2000 *************** *** 58,61 **** --- 58,63 ---- #define crhold(cr) (cr)->cr_ref++ + struct proc; + void change_euid __P((struct proc *p, uid_t euid)); struct ucred *crcopy __P((struct ucred *cr)); I'm years behind on committing fixes like this. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message