Date: Fri, 15 Sep 2000 19:47:18 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Doug Barton <DougB@gorean.org> Cc: Mike Smith <msmith@FreeBSD.org>, Warner Losh <imp@village.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: ucred.h + mountd problem Message-ID: <Pine.BSF.4.21.0009151944340.1943-100000@besplex.bde.org> In-Reply-To: <Pine.BSF.4.21.0009141535310.24100-100000@dt051n37.san.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009151944340.1943-100000>