[PATCH] Generic boolean

This patch defines:
* a generic boolean-type, named 'bool'
* aliases to 0 and 1, named 'false' and 'true'

Removing colliding definitions of 'bool', 'false' and 'true'.

Signed-off-by: Richard Knutsson <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Richard Knutsson 2006-09-30 23:27:11 -07:00 • committed by Linus Torvalds
commit 6e21828743
6 changed files with 10 additions and 10 deletions

View file

@ -50,10 +50,6 @@
/***
* Image defines
***/
#ifndef true
#define true 1
#define false 0
#endif
/* Misc constants */
#define ALLOW_CORRUPT 0 /* Causes collater to discard checksum */