Subject: Re: is obsolete?
To: Rhialto <>
From: Simon Burge <>
List: current-users
Date: 03/11/2006 11:09:15
Rhialto wrote:

> On Fri 10 Mar 2006 at 10:52:27 -0800, Garrett D'Amore wrote:
> > Because some of these headers are shared between kernel and user
> > source.  The macro provides a way to "hide" kernel private details,
> > without having to create two versions of header files.
> Perhaps the includes, as installed in /usr/include, should be run
> through `unifdef -U_KERNEL -U_STANDALONE' or somesuch.

I think this idea has some merit.  For things that might have
some userland interest we could use the __FOO_EXPOSE approach
that <sys/pool.h> and <sys/uio.h> use.

Simon Burge                            <>
NetBSD Support and Service: