From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id F21D59E4; Thu, 17 Jan 2019 06:34:00 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2019 21:34:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,488,1539673200"; d="scan'208";a="138977822" Received: from dipei-st-npg.sh.intel.com ([10.67.110.220]) by fmsmga001.fm.intel.com with ESMTP; 16 Jan 2019 21:33:59 -0800 From: Andy Pei To: dev@dpdk.org Cc: rosen.xu@intel.com, andy.pei@intel.com, stable@dpdk.org Date: Thu, 17 Jan 2019 13:32:15 +0800 Message-Id: <1547703135-195893-1-git-send-email-andy.pei@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1547445668-15578-1-git-send-email-andy.pei@intel.com> References: <1547445668-15578-1-git-send-email-andy.pei@intel.com> Subject: [dpdk-stable] [DPDK] bus/ifpga: fix a brackets unmatch X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2019 05:34:01 -0000 The code extern "C" { miss a related } Fixes: 05fa3d4a6539 ("bus/ifpga: add Intel FPGA bus library") Cc: rosen.xu@intel.com Cc: stable@dpdk.org Signed-off-by: Andy Pei --- drivers/bus/ifpga/rte_bus_ifpga.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/bus/ifpga/rte_bus_ifpga.h b/drivers/bus/ifpga/rte_bus_ifpga.h index d53c0f4..0bf43ba 100644 --- a/drivers/bus/ifpga/rte_bus_ifpga.h +++ b/drivers/bus/ifpga/rte_bus_ifpga.h @@ -13,7 +13,7 @@ #ifdef __cplusplus extern "C" { -#endif +#endif /* __cplusplus */ #include #include @@ -143,4 +143,8 @@ struct rte_afu_driver { #define RTE_PMD_REGISTER_AFU_ALIAS(nm, alias)\ static const char *afudrvinit_ ## nm ## _alias = RTE_STR(alias) +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* _RTE_BUS_IFPGA_H_ */ -- 1.8.3.1