From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5EBF0A00C5; Wed, 16 Feb 2022 16:16:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 364D0411AE; Wed, 16 Feb 2022 16:15:51 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id CE78941190; Wed, 16 Feb 2022 16:15:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645024548; x=1676560548; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Lp4oHt/w4Z9dya9mj9Xx3bezRiKmux9AyyrHrp3CJKk=; b=HlhIbnmk/aKtcSfCVJE2kiBCIE2Gl36jYbbczhFSk/c97Ws+ZAMJV9vi gUKrFaY/j4m1o0i7dHzyhJpJABcr9HvTk8gOmzSBcm/rJ8PNt1NpDaSRT yB3fOsSNWDiYLWwWj47tTjyF+ok+gdWGn8zY1Z6q4CgxzUrdmBOG3B/F3 ilDYTU5VF2ef8TYM7/v/zPuvX1SQSsxiEbIjnPYjIS1F0MjjyeSNtq/pF KBQ4Rdwaq+/jlUNpJ97MmFQ2lsS7mF9Wq/bS3TRR957DdQkxYgtq3e5S0 ojZ5/YxyAxdaChIyDmS9Q1sVsobK0xzRoL6NHLqZDR4mz7hBpx9//AJvs w==; X-IronPort-AV: E=McAfee;i="6200,9189,10260"; a="250824506" X-IronPort-AV: E=Sophos;i="5.88,374,1635231600"; d="scan'208";a="250824506" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2022 07:15:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,374,1635231600"; d="scan'208";a="487084355" Received: from unknown (HELO silpixa00400883.ir.intel.com) ([10.243.23.143]) by orsmga003.jf.intel.com with ESMTP; 16 Feb 2022 07:15:26 -0800 From: Brian Dooley To: dev@dpdk.org Cc: Brian Dooley , konstantin.ananyev@intel.com, stable@dpdk.org, Bruce Richardson , Pablo de Lara Guarch Subject: [PATCH v2 05/11] acl: fix missing C++ guards Date: Wed, 16 Feb 2022 15:14:50 +0000 Message-Id: <20220216151456.114242-6-brian.dooley@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220216151456.114242-1-brian.dooley@intel.com> References: <20220215170817.662136-1-brian.dooley@intel.com> <20220216151456.114242-1-brian.dooley@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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.ananyev@intel.com Cc: stable@dpdk.org Signed-off-by: Brian Dooley Acked-by: Bruce Richardson --- 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 #include +#ifdef __cplusplus +} +#endif + #endif /* _RTE_ACL_OSDEP_H_ */ -- 2.25.1