Re: kernel header separation

From: Andreas Schwab
Date: Mon Sep 08 2003 - 10:24:29 EST


Matthew Wilcox <willy@xxxxxxxxxx> writes:

> On Mon, Sep 08, 2003 at 10:32:49AM -0400, Jeff Garzik wrote:
>> On Mon, Sep 08, 2003 at 10:25:45AM -0400, Jeff Garzik wrote:
>> > Whenever I see "__u8", I think "non-standard, gcc-specific dependency"
>>
>> Ignore this, I stand corrected: these are kernel types.
>>
>> Regardless, I still prefer the C99 size-specific types, as they are the
>> most portable across all compilers, and you can depend on the compiler
>> to provide them for you. No need to define them yourself.
>
> bzzt. glibc provides them, not gcc.

Actually, a freestanding environment is required (in C99) to provide
<stdint.h>. gcc isn't quite there yet.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@xxxxxxx
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
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/