OSDN Git Service

Fix bool typedef warning, take 2
authorRob Herring <robh@kernel.org>
Wed, 31 Jan 2018 13:43:11 +0000 (07:43 -0600)
committerRob 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

index 32e5cfc..582ef68 100644 (file)
 #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 {