Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 20:32:14 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        John Baldwin <jhb@FreeBSD.org>, freebsd-current@FreeBSD.ORG, Steve Kargl <sgk@troutmask.apl.washington.edu>, Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Subject:   Re: namespace pollution with struct thread?
Message-ID:  <Pine.BSF.4.21.0111132031210.1336-100000@InterJet.elischer.org>
In-Reply-To: <xzp7ksut484.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help


On 14 Nov 2001, Dag-Erling Smorgrav wrote:
> 
> One other thing worth pointing out is that there is no reason for
> <sys/user.h> to include <sys/proc.h>.  It just needs to declare struct
> proc as an opaque structure.  Also, <sys/user.h> currently pulls in a
> lot of other headers such as <sys/_lock.h> and <sys/_mutex.h> that are
> needed only because <sys/proc.h> depends on them.


In this case it doesn't even need to include user.h

it still compiles and runs without including it....

> 
> DES
> -- 
> Dag-Erling Smorgrav - des@ofug.org
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" 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.0111132031210.1336-100000>