From: Hemant Agrawal Date: Fri, 8 Dec 2017 05:21:14 +0000 (+0530) Subject: bus/fslmc: fix the cplusplus macro closure X-Git-Tag: spdx-start~593 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7adf01cf803a1f845c0dd95961cf6ff103636cba;p=dpdk.git bus/fslmc: fix the cplusplus macro closure Fixes: 10f1614f36a6 ("drivers: refactor DPAA2 object definition") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- diff --git a/drivers/bus/fslmc/rte_fslmc.h b/drivers/bus/fslmc/rte_fslmc.h index af47b92e72..a5314b24bd 100644 --- a/drivers/bus/fslmc/rte_fslmc.h +++ b/drivers/bus/fslmc/rte_fslmc.h @@ -149,10 +149,6 @@ static void dpaa2initfn_ ##nm(void) \ } \ RTE_PMD_EXPORT_NAME(nm, __COUNTER__) -#ifdef __cplusplus -} -#endif - /** * Register a DPAA2 MC Object driver. * @@ -172,4 +168,8 @@ static void dpaa2objinitfn_ ##nm(void) \ } \ RTE_PMD_EXPORT_NAME(nm, __COUNTER__) +#ifdef __cplusplus +} +#endif + #endif /* _RTE_FSLMC_H_ */