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 A29BFA034E; Sun, 6 Feb 2022 01:45:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 005B34115E; Sun, 6 Feb 2022 01:45:34 +0100 (CET) Received: from out162-62-58-216.mail.qq.com (out162-62-58-216.mail.qq.com [162.62.58.216]) by mails.dpdk.org (Postfix) with ESMTP id 948DD4069D for ; Sun, 6 Feb 2022 01:45:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644108328; bh=pc1VfacefTwRVAL35p5uEmP9UebyGLt/OTqw/GWtCbg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=iFkXBTIIzUJ0n+eUONb9W7BmkTEHUcf0+u2VgOYE7JibOKkvANJcfUveXw7pKNGyG efnUNj8GbZUDvnaHv1/2y/2tPwnqfhrCO1FE/kuTAVYKCvoanaX999xVdBDowO3Wl8 Flj17qET4iJJvfcCQHSxGPCwC71wOek7NN1xpg8U= Received: from liwg-ubuntu.lan ([111.193.130.237]) by newxmesmtplogicsvrsza5.qq.com (NewEsmtp) with SMTP id B0E20ABF; Sun, 06 Feb 2022 08:44:14 +0800 X-QQ-mid: xmsmtpt1644108326te1z917fb Message-ID: X-QQ-XMAILINFO: NWth7vBa++Gd8ZArtiEM+CmmAlkkWc7AWlQjZFrE0XijZ6NXcA8uQn00W48W4X 8Goutha9J3+D63rMwzJ5/btQDIpunVTti0PI2NV2fBQc3rWctkeCd62CACnGSm4K5GBIwImJP+O6 3kQnLy06AUQkcygoYod9EHj0DKokwpyO57THbKlwVLMW2xT6A0e6FHf4Wxzad7LhwZxV0KEZAlz+ wocR2uEy4caTT4JA09SI6RLTRXPOxD90E10/x3AsSknoq5EYgCHsalA2z18Fbx/awdCiHjCH3ORl bGD90g0rd69EUnm8rwOeYf9zlAs4KTWeTwg59pybgHfPmw3g16pcST2esY1oNZbsqAU8Op8iH9ks VQ4YmdLft1yEWEd2iHL+QLf5pV/cWrnWRpvcPIFcr1XErAKhvEkjMyxCRFkosaiYzqygB7q6JQo9 0ZhqDWi1JZyV12KYgIA1YhlIMoAaD3XBfnaL6e+RH4bU05cZ3Zq1YgNno0kZBkVrzMJvfl2FdW0A NlCD8E3e6e2aSAQtmokmarhUlFiToBv7/6OqMqBwBiGUvV+2ic7Li0ktfLpmaTo0VCVL/QUls0va qdHRfn7142/BP7zDw/DwrXgDQ14LP1xF299PhXrM4xhfLdNlqPyRQY+iujadB6AEHQXmlSbvPRH7 CaHh4MbS/w+I5X32LzO/PrYJwdqi+Gdo3WXg8tfk7cGwXRD7kwroy5q1GoVBuGDjIcDbpNVfHEr9 4CRQ2YGw2F4ARv11SurcXRKnBl8xRx+lAdA3KzLO43C0p/lg57vjBtjwaA2mdMqbVVqx30dVHJ9t qSCYmpGXZiqA/kaDiJRP9Vl2/R+z6pSTsQDz+G4XYjAml6fmA++XX+43pNc3HM37s= From: Weiguo Li To: dev@dpdk.org Cc: bruce.richardson@intel.com Subject: [PATCH 5/6] eal/windows: fix the curly braces mismatch problem Date: Sun, 6 Feb 2022 08:44:13 +0800 X-OQ-MSGID: <20220206004414.2801177-6-liwg06@foxmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220206004414.2801177-1-liwg06@foxmail.com> References: <20220206004414.2801177-1-liwg06@foxmail.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 Supplement the first half of braces for the extern "C" block Fixes: 99a2dd955fba6 ("lib: remove librte_ prefix from directory names") Cc: bruce.richardson@intel.com Signed-off-by: Weiguo Li --- lib/eal/windows/include/dirent.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/eal/windows/include/dirent.h b/lib/eal/windows/include/dirent.h index 34eb077f8c..0a399d3145 100644 --- a/lib/eal/windows/include/dirent.h +++ b/lib/eal/windows/include/dirent.h @@ -28,6 +28,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* Maximum length of file name */ #if !defined(PATH_MAX) # define PATH_MAX MAX_PATH -- 2.25.1