mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[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:
parent
be5b7a8987
commit
6e21828743
6 changed files with 10 additions and 10 deletions
|
|
@ -71,7 +71,7 @@
|
|||
Define a Boolean data type.
|
||||
*/
|
||||
|
||||
typedef enum { false, true } __attribute__ ((packed)) boolean;
|
||||
typedef bool boolean;
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue