Re: PATCH 2.5.2.7: io.h cleanup and userspace nudge

From: Dave Jones (davej@suse.de)
Date: Fri Jan 04 2002 - 13:00:38 EST


On Fri, 4 Jan 2002, Jeff Garzik wrote:

> As we are now in 2.5.x series I figured it might be a good time to push
> this out... The patch removes __KERNEL__ ifdefs from [only] io.h as a
> nudge to userspace that they should not be including kernel headers.

Why not..

#ifndef __KERNEL__
#error This file should not be included by userspace.
#endif

?

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

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



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:25 EST