* [dpdk-dev] [PATCH] Added missing extern 'C' decls in rte_ip_frag.h
@ 2015-01-21 17:00 Marc Sune
2015-01-27 11:53 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Marc Sune @ 2015-01-21 17:00 UTC (permalink / raw)
To: dev
Signed-off-by: Marc Sune <marc.sune@bisdn.de>
---
lib/librte_ip_frag/rte_ip_frag.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lib/librte_ip_frag/rte_ip_frag.h b/lib/librte_ip_frag/rte_ip_frag.h
index 3989a5a..1083d44 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 <stdint.h>
#include <stdio.h>
@@ -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_ */
--
2.1.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] Added missing extern 'C' decls in rte_ip_frag.h
2015-01-21 17:00 [dpdk-dev] [PATCH] Added missing extern 'C' decls in rte_ip_frag.h Marc Sune
@ 2015-01-27 11:53 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2015-01-27 11:53 UTC (permalink / raw)
To: Marc Sune; +Cc: dev
> Signed-off-by: Marc Sune <marc.sune@bisdn.de>
> --- a/lib/librte_ip_frag/rte_ip_frag.h
> +++ b/lib/librte_ip_frag/rte_ip_frag.h
> +#ifdef __cplusplus
> +extern "C" {
> +#endif
Fixes: 601e279df074 ("move fragmentation/reassembly headers into a library")
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Applied
It seems that the same kind of fix is needed for
lib/librte_pmd_bond/rte_eth_bond_8023ad.h
Thanks
--
Thomas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-27 11:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-21 17:00 [dpdk-dev] [PATCH] Added missing extern 'C' decls in rte_ip_frag.h Marc Sune
2015-01-27 11:53 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).