[U-Boot] [u-boot-release] [PATCH] Introduce a global bool type

Timur Tabi timur at freescale.com
Mon Jan 7 23:32:33 CET 2013


York Sun wrote:
> 'bool' is defined in random places. This patch consolidates them into a
> single typedef.

... and defines 'bool' in a completely different way, so it doesn't just
"consolidate" the definitions.

I would add a comment that says that _Bool was introduced in C99, so it
should be safe to use this new definition instead of a hand-coded enum.

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the U-Boot mailing list