From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konstantin Ananyev Subject: [PATCH] rte_ethdev.h: fix make sure that all functions has C linkage type. Date: Fri, 24 Jul 2015 16:18:25 +0100 Message-ID: <1437751105-32067-1-git-send-email-konstantin.ananyev@intel.com> To: dev@dpdk.org Return-path: 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) 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_ */ -- 1.8.3.1