From owner-freebsd-current Tue Nov 13 21: 0:44 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 88A0537B405; Tue, 13 Nov 2001 21:00:41 -0800 (PST) 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 QAA02043; Wed, 14 Nov 2001 16:00:28 +1100 Date: Wed, 14 Nov 2001 15:59:14 +1100 (EST) From: Bruce Evans X-X-Sender: To: Dag-Erling Smorgrav Cc: John Baldwin , Julian Elischer , , Steve Kargl , Garrett Wollman Subject: Re: namespace pollution with struct thread? In-Reply-To: Message-ID: <20011114154741.T8595-100000@delplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 14 Nov 2001, Dag-Erling Smorgrav wrote: > One other thing worth pointing out is that there is no reason for > to include . It just needs to declare struct > proc as an opaque structure. I tried removing it a moth or two ago, but gave up. There was too much secondary namespace pollution that should be cleaned up first. > Also, currently pulls in a > lot of other headers such as and that are > needed only because depends on them. These are needed for too (except includes them itself). The struct mtx in is one of the main sources of secondary pollution. struct ucred insn't inside the _KERNEL ifdef because a few parts of userland still need it. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message