Re: [PATCH] 2.4.21-rc1: byteorder.h breaks with __STRICT_ANSI__ defined (trivial)

Christoph Hellwig (hch@infradead.org)
Wed, 7 May 2003 07:41:11 +0100


On Tue, May 06, 2003 at 10:27:29PM -0700, David S. Miller wrote:
> From: Christoph Hellwig <hch@infradead.org>
> Date: Wed, 7 May 2003 07:28:30 +0100
>
> rtnetlink.h is a bad example. Just to use something you quoted earlier in
> this thread..
>
> What is wrong with it? Truly kernel-only elements are protected
> with __KERNEL__ the rest are only the user visible and normal
> C types that are necessary for using rtnetlink in user apps.

If we have kernel declaration in those ABI headers you'd need an updated
abi-headers package for each change in one of your prototypes, rendering
it almost useless.

For this to work you really need two classes of headers, one the defines
ABIs and only ABIs and one that's for all kernel internal stuff.
-
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/