This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Boolean typedefs


A few weeks ago, I posted a query about booleans on the ecos-discuss
list (http://ecos.sourceware.org/ml/ecos-discuss/2010-04/msg00035.html).
 There were no comments either way,  so here's a patch.  It should
mean that all booleans end up using GCC's _Bool type, instead of a mix
of _Bool and int.  It showed up a couple of places where a function
prototype didn't match the implementation, and this patch fixes them.

Do others think that there was a problem with boolean definitions, and
is this an appropriate fix?

Alan Bowman

Attachment: bool_patch_hg
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]