[U-Boot] [Patch v2] Introduce a global bool type

Wolfgang Denk wd at denx.de
Tue Jan 8 07:29:28 CET 2013


Dear York Sun,

In message <1357602948-16848-1-git-send-email-yorksun at freescale.com> you wrote:
> 'bool' is defined in random places. This patch consolidates them into a
> single typedef, using _Bool introduced in C99.
> 
> Signed-off-by: York Sun <yorksun at freescale.com>
> ---
> Change since v1:
>  Move 'false' and 'true' to the common header file.

Please see Måns Rullgård's comment about using stdbool.h instead.

Then please make sure that a sufficient number of tool chains as well
as configurations using USE_PRIVATE_LIBGCC continue to work, i. e. in
a first step verify that these are still compile-clean.

Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The trouble with our times is that the future is not what it used  to
be.                                                     - Paul Valery


More information about the U-Boot mailing list