
7 Jan
2013
7 Jan
'13
11:32 p.m.
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