[U-Boot] [PATCH] Introduce a global bool type
Wolfgang Denk
wd at denx.de
Tue Jan 8 07:25:40 CET 2013
Dear Måns Rullgård,
In message <yw1xpq1g4na0.fsf at unicorn.mansr.com> you wrote:
>
> >> +typedef _Bool bool;
> >
> > And what exactly would "_Bool" be?
>
> _Bool is a C99 type (though I fail to imagine why). If using this, one
> might as well use the C99 header stdbool.h providing macros for 'bool',
> 'true' and 'false' instead of this.
Agreed - if we should really stick with that, that that's the way to
go.
> > Can we rather try and get rid of all this "bool" stuff instead? It's
> > just obfuscating the code...
>
> Indeed.
Thanks.
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
Save energy: Drive a smaller shell.
More information about the U-Boot
mailing list