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 CBB11A04A4 for ; Tue, 1 Mar 2022 15:44:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6525D42701; Tue, 1 Mar 2022 15:44:24 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 1AA4D40DF6 for ; Tue, 1 Mar 2022 15:44:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646145863; x=1677681863; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z88NGrufGdf9c0TzD0suYu8z2wzNQWYkSSdSE8u9Lsg=; b=NSSdK0NL8Ov2iTbYwZ02qE0jn1ZwkcTPlKZ8l/S8XZVP5COFLcZcNbvj LrnU3moYDJtLLhfBC7lf2FPLZlZfz8zQt+qWBPlLZJra7hAkw3bp/KFHW fjrVKvVYHavekpkgxzXDTr/+9mNv2CMmdJli85aQfrBBvH4blXzH1qMrb mIDQxG6u0u6oKzmRkDxsptLHxRq7/O+lXwt2vgBFZGNvKnym+zPMrLE8N f1Gjb0jbBxasyuMj+THUcDvrgv3T+Eh3M245Bj/z8WCwXm7HxDmjpaIz8 PWCUtww4z+LLxiKdu9AfRNg9oqrfGMAvXdmEAwBQSJY0YGwhgWUpi2Wor Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="233760077" X-IronPort-AV: E=Sophos;i="5.90,146,1643702400"; d="scan'208";a="233760077" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2022 06:44:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,146,1643702400"; d="scan'208";a="641284234" Received: from silpixa00399126.ir.intel.com ([10.237.223.34]) by orsmga004.jf.intel.com with ESMTP; 01 Mar 2022 06:44:09 -0800 From: Bruce Richardson To: stable@dpdk.org Cc: christian.ehrhardt@canonical.com, Bruce Richardson , Jerin Jacob Subject: [PATCH 19.11 v2 1/5] eventdev: fix C++ include Date: Tue, 1 Mar 2022 14:43:59 +0000 Message-Id: <20220301144403.411190-2-bruce.richardson@intel.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220301144403.411190-1-bruce.richardson@intel.com> References: <20220301140838.406891-1-bruce.richardson@intel.com> <20220301144403.411190-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org The eventdev timer header had an issue when used from C++, it was missing closing "}" for the extern "C" block Fixes: a6562f6d6f8e ("eventdev: introduce event timer adapter") Cc: stable@dpdk.org (This is backport of commit 153e7d88 from mainline) Signed-off-by: Bruce Richardson Acked-by: Jerin Jacob --- lib/librte_eventdev/rte_event_timer_adapter.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/librte_eventdev/rte_event_timer_adapter.h b/lib/librte_eventdev/rte_event_timer_adapter.h index 7f6dc5c292..9f5021454a 100644 --- a/lib/librte_eventdev/rte_event_timer_adapter.h +++ b/lib/librte_eventdev/rte_event_timer_adapter.h @@ -658,4 +658,8 @@ rte_event_timer_cancel_burst(const struct rte_event_timer_adapter *adapter, return adapter->cancel_burst(adapter, evtims, nb_evtims); } +#ifdef __cplusplus +} +#endif + #endif /* __RTE_EVENT_TIMER_ADAPTER_H__ */ -- 2.32.0