The extern "C" declaration is useless in private header, as previous patch (http://dpdk.org/patch/98948) noted. This file contains only a half part of the include guard, just remove it.
Fixes: d35e61322de52 ("eventdev: move inline APIs into separate structure") Cc: pbhagavat...@marvell.com Signed-off-by: Weiguo Li <liw...@foxmail.com> --- lib/eventdev/eventdev_pmd.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/eventdev/eventdev_pmd.h b/lib/eventdev/eventdev_pmd.h index d0b0c00a60..b05ffce549 100644 --- a/lib/eventdev/eventdev_pmd.h +++ b/lib/eventdev/eventdev_pmd.h @@ -1366,8 +1366,4 @@ void event_dev_fp_ops_set(struct rte_event_fp_ops *fp_ops, const struct rte_eventdev *dev); -#ifdef __cplusplus -} -#endif - #endif /* _RTE_EVENTDEV_PMD_H_ */ -- 2.25.1