hardware/intel/libsensors
修訂 | 2c599096975fe554e1fcd05d1e8a3974b178678e (tree) |
---|---|
時間 | 2018-02-01 00:19:30 |
作者 | Rob Herring <robh@kern...> |
Commiter | Rob Herring |
Fix bool typedef warning, take 2
'bool' is already defined, so just remove the typedef and defines
altogether.
Signed-off-by: Rob Herring <robh@kernel.org>
@@ -24,10 +24,6 @@ | ||
24 | 24 | #define MAX_ACTIVITIES 6 |
25 | 25 | #define MAX_EVENTS_PER_ACTIVITY 2 |
26 | 26 | |
27 | -typedef _Bool bool; | |
28 | -#define true 1 | |
29 | -#define false 0 | |
30 | - | |
31 | 27 | /* For each activity in activity_recognition.h we can monitor 2 events at most : |
32 | 28 | * ENTER and EXIT */ |
33 | 29 | struct activity_event_info { |