From owner-cvs-all Mon Apr 23 2:27:44 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id E32DC37B423; Mon, 23 Apr 2001 02:27:37 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id TAA22521; Mon, 23 Apr 2001 19:27:31 +1000 Date: Mon, 23 Apr 2001 19:25:09 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Greg Lehey Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/isofs/cd9660 cd9660_bmap.c cd9660_lookup.c cd9660_node.c cd9660_rrip.c cd9660_util.c cd9660_vfsops.c cd9660_vnops.c In-Reply-To: <20010423183839.C37321@wantadilla.lemis.com> 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 Mon, 23 Apr 2001, Greg Lehey wrote: > On Monday, 23 April 2001 at 18:57:53 +1000, Bruce Evans wrote: > > Arggh. This is the start of breaking the includes in approx. 133 files to > > work with recent breakage in . Approx. 133 files that have > > nothing to do with either networking or radixes now need to include > > . > > Well, it doesn't exactly seem to be correct to redefine AF_MAX in > sys/mount.h to get around it. But pass me the pointy hat: I checked > with make world and forgot LINT. Defining AF_MAX in 2 places is easier than having a whole header just for defining AF_MAX. The definitions won't get out of sync, because building kernels will give warnings about them being different, and committed code doesn't cause warnings ;-). The include of is unrelated to this. is already close to being a secondary header that is included in primary headers like and . It is only included directly in a few networking .c files, and half of those includes are bogus anyway, since the files also include . ( doesn't include if RNF_NORMAL is defined, but I don't see how defining RNF_NORMAL could actually work in the kernel. It is apparently intended for permitting an alternative to , but since other parts of the kernel just include , there would probably be at best namespace conflicts with any alternative.) BTW, 133 is from "grep -c sys/mount.h LINT/.depend". Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message