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 00FBBA04A4 for ; Tue, 1 Mar 2022 15:08:52 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED88A40DF6; Tue, 1 Mar 2022 15:08:52 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id B750640DF6 for ; Tue, 1 Mar 2022 15:08:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646143731; x=1677679731; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z88NGrufGdf9c0TzD0suYu8z2wzNQWYkSSdSE8u9Lsg=; b=NlnTR/OD3tKM4ShGiyqgDdWNr4VNd6SWI3g7kGydPI0VfGbe5TBEIIoz jVm6aHP42s0/zuwnvgY0fqiUIHAeWX5btuXxCGj8KWGcLNRyEPJr1+JU4 iGGVQqEAixCMPD9JaIzIvfRzN8c+D2GVvXA6cUOV+If2bcUZMyGNaqUJW I74CWuRyUi7/sJgdCJAyBMVYzzN62gpymD6FO+8cGrsalwlgo35pPC9tp zFyY3ph+sjwZWi/62IrIeTgo63ceZmlklAUYJzRPE/G0HqQCeRmKTdP7i DaedjozdZQz6LSEZDeQ41cNO6CwEGqngbi0i2GQFsrRbNQBgF0U28I4OY Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="251967469" X-IronPort-AV: E=Sophos;i="5.90,146,1643702400"; d="scan'208";a="251967469" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2022 06:08:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,146,1643702400"; d="scan'208";a="510522940" Received: from silpixa00399126.ir.intel.com ([10.237.223.34]) by orsmga006.jf.intel.com with ESMTP; 01 Mar 2022 06:08:49 -0800 From: Bruce Richardson To: stable@dpdk.org Cc: christian.ehrhardt@canonical.com, Bruce Richardson , Jerin Jacob Subject: [PATCH 19.11 1/4] eventdev: fix C++ include Date: Tue, 1 Mar 2022 14:08:35 +0000 Message-Id: <20220301140838.406891-2-bruce.richardson@intel.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220301140838.406891-1-bruce.richardson@intel.com> References: <20220301140838.406891-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