From: Dharmik Thakkar Date: Fri, 10 Jan 2020 20:51:50 +0000 (-0600) Subject: net/e1000: remove local bool type X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ecf8c855e49800b64abcf91307e165cdb5e6d503;p=dpdk.git net/e1000: remove local bool type Replace 'typedef int bool' with 'stdbool.h' to avoid possible multiple definitions of 'bool'. Signed-off-by: Dharmik Thakkar Reviewed-by: Phil Yang Reviewed-by: Ferruh Yigit --- diff --git a/drivers/net/e1000/base/e1000_osdep.h b/drivers/net/e1000/base/e1000_osdep.h index fd22c7e41f..94a49f3404 100644 --- a/drivers/net/e1000/base/e1000_osdep.h +++ b/drivers/net/e1000/base/e1000_osdep.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -58,7 +59,6 @@ typedef int64_t s64; typedef int32_t s32; typedef int16_t s16; typedef int8_t s8; -typedef int bool; #define __le16 u16 #define __le32 u32 @@ -163,7 +163,4 @@ static inline uint16_t e1000_read_addr16(volatile void *addr) #define ETH_ADDR_LEN 6 #endif -#define false FALSE -#define true TRUE - #endif /* _E1000_OSDEP_H_ */