From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BAFA0A00BE; Tue, 7 Jul 2020 16:19:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E72271DD5F; Tue, 7 Jul 2020 16:19:16 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id BA61F1D5D2 for ; Tue, 7 Jul 2020 16:19:15 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 4BE8E5C0246; Tue, 7 Jul 2020 10:19:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 07 Jul 2020 10:19:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= PajGqGOBdZVcmkJn2d3zNeeuqudyitMBZLrcEdUBhgU=; b=OhLj/oBtpPrTuLay xIfbSYU0taUe6e7esqYiAfQ0WYNCzIhjYNyngtH3cgKDgF+koI4MnL6AnGlA0y2v iesTnI/DVkaM3yqhTzoJN5URlPhF9lReU/Cf1fCdnr2ucROp8rMLOYabK8oAsq+7 AoW5GVdgh7A7NAdTGzqYyivaD5pQDwEPoiHqGNmFLnoI3KcxpItgQBDgqq2jghXR QE/GbY0efQPQehmyZU6DxfGLG0xn+vfAAOcK6NGNXedYDG/gle5arUki92mVRyUX ASR258hTCy55qNeIM6D1yhXcGOTufJc9uyyvehqJAmUbwhbXfVUyu+gv5D8oFYO8 Yiw+Ug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=PajGqGOBdZVcmkJn2d3zNeeuqudyitMBZLrcEdUBh gU=; b=QlFbFZkZyjW/QjYdmqfCYhKxi5Zs42PBrIWdh1MrTNl5057CwYIQBSkUI upU0dM8MZsQpYJV2yyc6pv5gvnr1tffkx1IsujnZppkNSN1KLqqzl6HHZCpDSvjc D87fKVtkU11FwRncNr3d9kvEwL8p9QYHivjNxsT4ymijFq9+dL6+ZyEoC667mXWt Qm8R0Q0VnrmswwX4Ln2WMfxNYFGfbjDgkzNY3lrlDZ+lD/lUEUHE8Jjlk0YM8zY5 Q70jEAA0J0c7slYDuD5+itKYQnLsdRd2KYuRnOTianHNAxxJhFd4FlVwRf2JB9hS rTvzsVIj3f8TcPE2M8+eCOIkjcBjg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehgdeilecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgjfhgggfgtsehtufertd dttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehm ohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepudeggfdvfeduffdtfeegle fghfeukefgfffhueejtdetuedtjeeuieeivdffgeehnecukfhppeejjedrudefgedrvddt fedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id E48FC328005D; Tue, 7 Jul 2020 10:19:13 -0400 (EDT) From: Thomas Monjalon To: levendsayar@gmail.com Cc: dev@dpdk.org, harry.van.haaren@intel.com, david.marchand@redhat.com Date: Tue, 07 Jul 2020 16:19:12 +0200 Message-ID: <6757103.nzWn3hy6JQ@thomas> In-Reply-To: <20200707122516.28630-1-levendsayar@gmail.com> References: <20200707122516.28630-1-levendsayar@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] build: C++ linkage support is added to rte_service_component.h file X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 07/07/2020 14:25, levendsayar@gmail.com: > From: Levend Sayar Would be good to have a short explanation, even if obvious. > Signed-off-by: Levend Sayar > --- > lib/librte_eal/include/rte_service_component.h | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) Is it the only file missing such C++ guard? > --- a/lib/librte_eal/include/rte_service_component.h > +++ b/lib/librte_eal/include/rte_service_component.h > @@ -9,6 +9,11 @@ > * Include this file if you are writing a component that requires CPU cycles to > * operate, and you wish to run the component using service cores > */ > + > +#ifdef __cplusplus > +extern "C" { > +#endif > + > #include > #include > > @@ -130,4 +135,8 @@ int32_t rte_service_init(void); > */ > void rte_service_finalize(void); > > -#endif /* _SERVICE_PRIVATE_H_ */ > +#ifdef __cplusplus > +} > +#endif > + > +#endif /* _RTE_SERVICE_PRIVATE_H_ */ >