Re: kernel header separation

From: Matthew Wilcox
Date: Fri Sep 05 2003 - 09:46:27 EST


On Tue, Sep 02, 2003 at 07:49:09PM -0600, Erik Andersen wrote:
> Header files intended for use by users should probably drop
> linux/types.h just include <stdint.h>,,, Then convert the
> types over to ISO C99 types.

stdint.h is a userspace header. I suppose we could clone it for the
kernel, but I don't see any need to.

> s/__u8/uint8_t/g
> s/__u16/uint16_t/g
> s/__u32/uint32_t/g
> s/__u64/uint64_t/g

i think all these _t types are ugly ;-(

--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
-
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/