From patchwork Wed Jan 21 17:00:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Sune X-Patchwork-Id: 2425 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 160F05A31; Wed, 21 Jan 2015 18:00:48 +0100 (CET) Received: from mx.bisdn.de (mx.bisdn.de [185.27.182.31]) by dpdk.org (Postfix) with ESMTP id B1A2F5A1F for ; Wed, 21 Jan 2015 18:00:46 +0100 (CET) Received: from localhost.localdomain (unknown [172.16.250.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mx.bisdn.de (Postfix) with ESMTPSA id 270E7A2FBF; Wed, 21 Jan 2015 18:00:46 +0100 (CET) From: Marc Sune To: dev@dpdk.org Date: Wed, 21 Jan 2015 18:00:26 +0100 Message-Id: <1421859626-27723-1-git-send-email-marc.sune@bisdn.de> X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH] Added missing extern 'C' decls in rte_ip_frag.h X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Marc Sune Acked-by: Thomas Monjalon --- 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 #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_ */