From patchwork Thu Jan 2 17:48:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dharmik Thakkar X-Patchwork-Id: 64167 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D8294A04F3; Thu, 2 Jan 2020 18:49:18 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1D22E1C193; Thu, 2 Jan 2020 18:49:18 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 809611C192 for ; Thu, 2 Jan 2020 18:49:16 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DEE14328; Thu, 2 Jan 2020 09:49:15 -0800 (PST) Received: from dp6132.usa.Arm.com (dp6132.usa.arm.com [10.118.91.150]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D97843F703; Thu, 2 Jan 2020 09:49:15 -0800 (PST) From: Dharmik Thakkar To: Cc: dev@dpdk.org, Dharmik Thakkar Date: Thu, 2 Jan 2020 17:48:31 +0000 Message-Id: <20200102174838.12908-1-dharmik.thakkar@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191003224419.23968-1-dharmik.thakkar@arm.com> References: <20191003224419.23968-1-dharmik.thakkar@arm.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 0/7] remove 'typedef int bool' X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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(-)