mbox series

[v2,0/7] remove 'typedef int bool'

Message ID 20200102174838.12908-1-dharmik.thakkar@arm.com (mailing list archive)
Headers show
Series remove 'typedef int bool' | expand

Message

Dharmik Thakkar Jan. 2, 2020, 5:48 p.m. UTC
Replace 'typedef int bool' with 'stdbool.h'
Thus, avoid future compilation problems when 'stdbool.h'
gets included in these files.

---
v2:
- Remove 'typedef int bool' from other drivers
---

Dharmik Thakkar (7):
  net/ixgbe: avoid multpile definitions of 'bool'
  net/cxgbe: remove 'typedef int bool'
  net/vmxnet3: remove 'typedef int bool'
  net/bnx2x: remove 'typedef int bool'
  net/e1000: remove 'typedef int bool'
  net/fm10k: remove 'typedef int bool'
  net/qede: remove 'typedef int bool'

 drivers/net/bnx2x/bnx2x_ethdev.h         |  4 +--
 drivers/net/bnx2x/ecore_sp.c             | 46 ++++++++++++------------
 drivers/net/cxgbe/cxgbe_compat.h         |  4 +--
 drivers/net/cxgbe/cxgbe_main.c           | 13 +++----
 drivers/net/e1000/base/e1000_osdep.h     |  5 +--
 drivers/net/fm10k/base/fm10k_osdep.h     |  8 +----
 drivers/net/fm10k/fm10k_ethdev.c         |  6 ++--
 drivers/net/ixgbe/base/ixgbe_osdep.h     |  4 +--
 drivers/net/ixgbe/ixgbe_ethdev.c         |  7 ++--
 drivers/net/qede/base/bcm_osal.h         |  5 +--
 drivers/net/qede/base/ecore_vf.c         |  2 +-
 drivers/net/qede/qede_ethdev.c           |  2 +-
 drivers/net/vmxnet3/base/vmxnet3_defs.h  |  6 ++--
 drivers/net/vmxnet3/base/vmxnet3_osdep.h |  4 +--
 14 files changed, 50 insertions(+), 66 deletions(-)