Re: linux/time.h annoyance

From: Sam Ravnborg
Date: Thu Sep 25 2003 - 13:06:15 EST


On Thu, Sep 25, 2003 at 10:54:37AM +0100, Christoph Hellwig wrote:
> On Thu, Sep 25, 2003 at 11:48:01AM +0200, Ronald Bultje wrote:
> > Hi,
> >
> > I'm annoyed by something in linux/time.h. The issue is as follows:
> >
> > -
> > #include <sys/time.h>
> > #include <linux/time.h>
> > int main () { return 0; }
>
> So don't include it. Userspace should use <sys/time.h>, not kernel
> headers.

What about the patch that Matthew Wilcox posted?
Was it too late or was it not the right solution for separating
headers to be exposed to user space, and kernel internal headers?

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/