[coreboot] Shortened in types (u32) vs stdint types (uint32_t)

ron minnich rminnich at gmail.com
Wed Jan 29 03:37:30 CET 2014


Standardizing on the short names is easy. Converting to them is even
easier, via spatch. I'll +2 such patches :-)

We can make the cut in less time than it takes to discuss it :-)

I'm not that concerned either way, except that, historically, coreboot
has gone with the short names.

ron

On Tue, Jan 28, 2014 at 2:44 PM, Carl-Daniel Hailfinger
<c-d.hailfinger.devel.2006 at gmx.net> wrote:
> I'd like to register my vote of disapproval of a move to stdint.
>
> u8/u16/u32 are a perfectly fine set of types and the Linux kernel uses
> them a lot.
> We owe our usage of these short type names to our Linux kernel heritage.
> Besides that, they are very convenient to type und read due to their
> short names. I stopped counting how often I typed u_int32t instead of
> uint32_t.
> We're not userspace, so we have to provide our own stdint.h anyway.
>
> Let's just standardize on the short type names.
>
> Regards,
> Carl-Daniel
>
> --
> http://www.hailfinger.org/
>
>
> --
> coreboot mailing list: coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot



More information about the coreboot mailing list