From: Marc Sune Date: Wed, 21 Jan 2015 17:00:26 +0000 (+0100) Subject: ip_frag: fix header for C++ X-Git-Tag: spdx-start~9831 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9f516206d9a5fde6f25bae0553c6aa1a32a09b69;p=dpdk.git ip_frag: fix header for C++ Add missing extern 'C' decls in rte_ip_frag.h. Fixes: 601e279df074 ("move fragmentation/reassembly headers into a library") Signed-off-by: Marc Sune Acked-by: Thomas Monjalon --- diff --git a/lib/librte_ip_frag/rte_ip_frag.h b/lib/librte_ip_frag/rte_ip_frag.h index 3989a5a819..1083d440b5 100644 --- a/lib/librte_ip_frag/rte_ip_frag.h +++ b/lib/librte_ip_frag/rte_ip_frag.h @@ -41,6 +41,10 @@ * Implementation of IP packet fragmentation and reassembly. */ +#ifdef __cplusplus +extern "C" { +#endif + #include #include @@ -350,4 +354,8 @@ void rte_ip_frag_free_death_row(struct rte_ip_frag_death_row *dr, void rte_ip_frag_table_statistics_dump(FILE * f, const struct rte_ip_frag_tbl *tbl); +#ifdef __cplusplus +} +#endif + #endif /* _RTE_IP_FRAG_H_ */