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 B1824A00C2; Fri, 11 Mar 2022 21:05:37 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5B465410E3; Fri, 11 Mar 2022 21:05:33 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id BCAFB40042 for ; Fri, 11 Mar 2022 21:05:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647029131; x=1678565131; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jFRXPdP/8jvyYISRZhP0tiyBcdEdegq01z72taF5xOk=; b=cwuIbs3/mNsg8z8Qx5HZ+bWHLu9EbExzJAKA26UV/tLHKVaUB9ba7xPm jn6go/okbHKahaM/T3QoqZxoQsFWei8M6P+n2zfzhoDCZNmaQnxwEK9u7 +L0opl11jg1oFqqlZZ95lCtVK2Zi99Ce/KR4bgzawK5+MWRfHA1i4jF80 N4lrJBicIlr7PxXg7RBHJB+ZbFVoFmvApS/M+6Z+FTEzM/PY8PpwJt86m 5C/sljI2/e61FMl8dYnt7pORj8dGUG5Rs1lJnHpv0aKBjXWvD+4qB4mBU sT5tf1y4oSZr3c/yttXllg89K7Q2lgqTpht4zywCApsN3biDcqTXI3pMB Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10283"; a="253207381" X-IronPort-AV: E=Sophos;i="5.90,174,1643702400"; d="scan'208";a="253207381" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2022 12:05:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,174,1643702400"; d="scan'208";a="555444777" Received: from silpixa00399126.ir.intel.com ([10.237.223.34]) by orsmga008.jf.intel.com with ESMTP; 11 Mar 2022 12:05:28 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 1/5] eal/freebsd: add missing C++ include guards Date: Fri, 11 Mar 2022 20:05:19 +0000 Message-Id: <20220311200523.1020050-2-bruce.richardson@intel.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220311200523.1020050-1-bruce.richardson@intel.com> References: <20220311200523.1020050-1-bruce.richardson@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 Add mising 'extern "C"' to file. Fixes: 428eb983f5f7 ("eal: add OS specific header file") Signed-off-by: Bruce Richardson --- lib/eal/freebsd/include/rte_os.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/eal/freebsd/include/rte_os.h b/lib/eal/freebsd/include/rte_os.h index 9d8a69008c..b4afd45adc 100644 --- a/lib/eal/freebsd/include/rte_os.h +++ b/lib/eal/freebsd/include/rte_os.h @@ -5,6 +5,10 @@ #ifndef _RTE_OS_H_ #define _RTE_OS_H_ +#ifdef __cplusplus +extern "C" { +#endif + /** * This header should contain any definition * which is not supported natively or named differently in FreeBSD. @@ -59,4 +63,8 @@ typedef cpuset_t rte_cpuset_t; } while (0) #endif +#ifdef __cplusplus +} +#endif + #endif /* _RTE_OS_H_ */ -- 2.34.1