[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

@ -110,7 +110,6 @@ static char version[] __initdata =
* DGRS include files
*/
typedef unsigned char uchar;
typedef unsigned int bool;
#define vol volatile
#include "dgrs.h"