Android-x86
Fork
Spenden

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-intel-libsensors: Commit

hardware/intel/libsensors


Commit MetaInfo

Revision2c599096975fe554e1fcd05d1e8a3974b178678e (tree)
Zeit2018-02-01 00:19:30
AutorRob Herring <robh@kern...>
CommiterRob Herring

Log Message

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>

Ändern Zusammenfassung

Diff

--- a/activity_event_utils.h
+++ b/activity_event_utils.h
@@ -24,10 +24,6 @@
2424 #define MAX_ACTIVITIES 6
2525 #define MAX_EVENTS_PER_ACTIVITY 2
2626
27-typedef _Bool bool;
28-#define true 1
29-#define false 0
30-
3127 /* For each activity in activity_recognition.h we can monitor 2 events at most :
3228 * ENTER and EXIT */
3329 struct activity_event_info {
Show on old repository browser