Some public header files were missing 'extern "C"' C++ guards, and couldn't be used by C++ applications. Add the missing guards.
Fixes: dc276b5780c2 ("acl: new library") Cc: konstantin.anan...@intel.com Cc: sta...@dpdk.org Signed-off-by: Brian Dooley <brian.doo...@intel.com> Acked-by: Bruce Richardson <bruce.richard...@intel.com> --- v2: Added missing apostrophe to commit message. --- lib/acl/rte_acl_osdep.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/acl/rte_acl_osdep.h b/lib/acl/rte_acl_osdep.h index b2c262dee7..3c1dc402ca 100644 --- a/lib/acl/rte_acl_osdep.h +++ b/lib/acl/rte_acl_osdep.h @@ -5,6 +5,10 @@ #ifndef _RTE_ACL_OSDEP_H_ #define _RTE_ACL_OSDEP_H_ +#ifdef __cplusplus +extern "C" { +#endif + /** * @file * @@ -45,4 +49,8 @@ #include <rte_cpuflags.h> #include <rte_debug.h> +#ifdef __cplusplus +} +#endif + #endif /* _RTE_ACL_OSDEP_H_ */ -- 2.25.1