> > #ifndef __KERNEL__
> > #error This file should not be included by userspace.
> > #endif
> I thought about it, but then the tree would be littered with that all
> over the place. Programmers are smart enough to figure this out (I hope
> :))
I doubt you'd need it in that many places. A few well chosen ones should
probably suffice.
-- | 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/