numam-dpdk/drivers/net/vmxnet3/base/vmxnet3_osdep.h
Dharmik Thakkar af4583b176 net/vmxnet3: remove local bool type
Replace 'typedef int bool' with 'stdbool.h' to avoid possible
multiple definitions of 'bool'.
Remove 'typedef char Bool' and use 'bool' instead.

Signed-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Yong Wang <yongwang@vmware.com>
2020-01-17 19:46:02 +01:00

20 lines
378 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2010-2014 Intel Corporation
*/
#ifndef _VMXNET3_OSDEP_H
#define _VMXNET3_OSDEP_H
#include <stdbool.h>
typedef uint64_t uint64;
typedef uint32_t uint32;
typedef uint16_t uint16;
typedef uint8_t uint8;
#ifndef UNLIKELY
#define UNLIKELY(x) __builtin_expect((x),0)
#endif /* unlikely */
#endif /* _VMXNET3_OSDEP_H */