From patchwork Tue Jan 27 12:45:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wodkowski, PawelX" X-Patchwork-Id: 2601 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 35E7B5F7E; Tue, 27 Jan 2015 13:44:39 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 9055A5F7D for ; Tue, 27 Jan 2015 13:44:37 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 27 Jan 2015 04:40:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,474,1418112000"; d="scan'208";a="643221036" Received: from unknown (HELO Sent) ([10.217.248.233]) by orsmga001.jf.intel.com with SMTP; 27 Jan 2015 04:44:34 -0800 Received: by Sent (sSMTP sendmail emulation); Tue, 27 Jan 2015 13:45:08 +0100 From: Pawel Wodkowski To: dev@dpdk.org Date: Tue, 27 Jan 2015 13:45:03 +0100 Message-Id: <1422362703-18868-1-git-send-email-pawelx.wodkowski@intel.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH] Added missing extern 'C' decls in mode4 header files X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Pawel Wodkowski --- lib/librte_pmd_bond/rte_eth_bond_8023ad.h | 8 ++++++++ lib/librte_pmd_bond/rte_eth_bond_8023ad_private.h | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/lib/librte_pmd_bond/rte_eth_bond_8023ad.h b/lib/librte_pmd_bond/rte_eth_bond_8023ad.h index 9adc6aa..ebd0e93 100644 --- a/lib/librte_pmd_bond/rte_eth_bond_8023ad.h +++ b/lib/librte_pmd_bond/rte_eth_bond_8023ad.h @@ -36,6 +36,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + /** * Actor/partner states */ @@ -211,4 +215,8 @@ int rte_eth_bond_8023ad_slave_info(uint8_t port_id, uint8_t slave_id, struct rte_eth_bond_8023ad_slave_info *conf); +#ifdef __cplusplus +} +#endif + #endif /* RTE_ETH_BOND_8023AD_H_ */ diff --git a/lib/librte_pmd_bond/rte_eth_bond_8023ad_private.h b/lib/librte_pmd_bond/rte_eth_bond_8023ad_private.h index 8adee70..7930345 100644 --- a/lib/librte_pmd_bond/rte_eth_bond_8023ad_private.h +++ b/lib/librte_pmd_bond/rte_eth_bond_8023ad_private.h @@ -42,6 +42,10 @@ #include "rte_eth_bond_8023ad.h" +#ifdef __cplusplus +extern "C" { +#endif + #define BOND_MODE_8023AX_UPDATE_TIMEOUT_MS 100 /** Maximum number of packets to one slave queued in TX ring. */ #define BOND_MODE_8023AX_SLAVE_RX_PKTS 3 @@ -305,4 +309,8 @@ bond_mode_8023ad_deactivate_slave(struct rte_eth_dev *dev, uint8_t slave_pos); void bond_mode_8023ad_mac_address_update(struct rte_eth_dev *bond_dev); +#ifdef __cplusplus +} +#endif + #endif /* RTE_ETH_BOND_8023AD_H_ */