diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2006-10-01 02:27:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 03:39:18 -0400 |
commit | 6e21828743247270d09a86756a0c11702500dbfb (patch) | |
tree | e38e37a5040801787e8e942ba35c25903cea0d77 /drivers/media/video | |
parent | be5b7a8987f23281b146f22b13e2079f448c69c7 (diff) |
[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 <ricknu-0@student.ltu.se>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/cpia2/cpia2.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/video/cpia2/cpia2.h b/drivers/media/video/cpia2/cpia2.h index c5ecb2be5f93..8d2dfc128821 100644 --- a/drivers/media/video/cpia2/cpia2.h +++ b/drivers/media/video/cpia2/cpia2.h | |||
@@ -50,10 +50,6 @@ | |||
50 | /*** | 50 | /*** |
51 | * Image defines | 51 | * Image defines |
52 | ***/ | 52 | ***/ |
53 | #ifndef true | ||
54 | #define true 1 | ||
55 | #define false 0 | ||
56 | #endif | ||
57 | 53 | ||
58 | /* Misc constants */ | 54 | /* Misc constants */ |
59 | #define ALLOW_CORRUPT 0 /* Causes collater to discard checksum */ | 55 | #define ALLOW_CORRUPT 0 /* Causes collater to discard checksum */ |