OSDN Git Service
(root)
/
android-x86
/
hardware-intel-libsensors.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eb1fe7
)
Fix bool typedef warning, take 2
author
Rob Herring
<robh@kernel.org>
Wed, 31 Jan 2018 13:43:11 +0000
(07:43 -0600)
committer
Rob Herring
<robh@kernel.org>
Wed, 31 Jan 2018 15:19:30 +0000
(09:19 -0600)
'bool' is already defined, so just remove the typedef and defines
altogether.
Signed-off-by: Rob Herring <robh@kernel.org>
activity_event_utils.h
patch
|
blob
|
history
diff --git
a/activity_event_utils.h
b/activity_event_utils.h
index
32e5cfc
..
582ef68
100644
(file)
--- a/
activity_event_utils.h
+++ b/
activity_event_utils.h
@@
-24,10
+24,6
@@
#define MAX_ACTIVITIES 6
#define MAX_EVENTS_PER_ACTIVITY 2
-typedef _Bool bool;
-#define true 1
-#define false 0
-
/* For each activity in activity_recognition.h we can monitor 2 events at most :
* ENTER and EXIT */
struct activity_event_info {