Android-x86
Fork
捐款

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-intel-libsensors: 提交

hardware/intel/libsensors


Commit MetaInfo

修訂2c599096975fe554e1fcd05d1e8a3974b178678e (tree)
時間2018-02-01 00:19:30
作者Rob 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>

Change Summary

差異

--- 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