[U-Boot] [Patch v3] Consolidate bool type

York Sun yorksun at freescale.com
Wed Jan 23 22:46:04 CET 2013


On 01/23/2013 01:41 PM, York Sun wrote:
> 'bool' is defined in random places. This patch consolidates them into a
> single header file include/linux/types.h, using stdbool.h.
> 
> All other #define, typedef and enum are removed. They are all consistent with
> true = 1, false = 0.
> 
> Signed-off-by: York Sun <yorksun at freescale.com>
> ---
> Change since v1:
>  Move 'false' and 'true' to the common header file.
> 
> Change since v2:
>  Use stdbool.h
>  Consolidate all TRUE, FALSE, True, False, true, false
> 
> Need help to test on all ARCHs with differnt toolchains as well as USE_PRIVATE_LIBGCC.
> 
>
I should put RFC in the subject as I am not able to compile all ARCH myself.

York





More information about the U-Boot mailing list