From patchwork Fri Jul 24 15:18:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ananyev, Konstantin" X-Patchwork-Id: 6583 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 E2394C34E; Fri, 24 Jul 2015 17:18:33 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 76C7A5A49 for ; Fri, 24 Jul 2015 17:18:32 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 24 Jul 2015 08:18:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,538,1432623600"; d="scan'208";a="770550279" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 24 Jul 2015 08:18:30 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t6OFITB0024761; Fri, 24 Jul 2015 16:18:29 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t6OFITBq032106; Fri, 24 Jul 2015 16:18:29 +0100 Received: (from kananye1@localhost) by sivswdev02.ir.intel.com with id t6OFITib032102; Fri, 24 Jul 2015 16:18:29 +0100 From: Konstantin Ananyev To: dev@dpdk.org Date: Fri, 24 Jul 2015 16:18:25 +0100 Message-Id: <1437751105-32067-1-git-send-email-konstantin.ananyev@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH] rte_ethdev.h: fix make sure that all functions has C linkage type. 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" Move #ifdef __cplusplus to the end of the file. Signed-off-by: Konstantin Ananyev --- lib/librte_ether/rte_ethdev.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index c901a2c..9b50858 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -3793,10 +3793,6 @@ int rte_eth_dev_get_eeprom(uint8_t port_id, struct rte_dev_eeprom_info *info); */ int rte_eth_dev_set_eeprom(uint8_t port_id, struct rte_dev_eeprom_info *info); -#ifdef __cplusplus -} -#endif - /** * Set the list of multicast addresses to filter on an Ethernet device. * @@ -3882,4 +3878,9 @@ extern int rte_eth_timesync_read_rx_timestamp(uint8_t port_id, */ extern int rte_eth_timesync_read_tx_timestamp(uint8_t port_id, struct timespec *timestamp); + +#ifdef __cplusplus +} +#endif + #endif /* _RTE_ETHDEV_H_ */