[v2,5/6] eal/windows: fix the curly braces mismatch problem

Message ID tencent_B5D208321DDA6F8091251181982A1EAAD307@qq.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series [v2,1/6] bus/dpaa: fix the curly braces mismatch problem |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Weiguo Li Feb. 7, 2022, 12:37 p.m. UTC
  Remove the incomplete cplusplus guard in internal header.

Fixes: 6e1ed4cbbe99 ("eal/windows: add dirent implementation")
Cc: pallavi.kadam@intel.com

Signed-off-by: Weiguo Li <liwg06@foxmail.com>
---
 lib/eal/windows/include/dirent.h | 3 ---
 1 file changed, 3 deletions(-)
  

Comments

Dmitry Kozlyuk Feb. 7, 2022, 1:15 p.m. UTC | #1
2022-02-07 20:37 (UTC+0800), Weiguo Li:
> Remove the incomplete cplusplus guard in internal header.
> 
> Fixes: 6e1ed4cbbe99 ("eal/windows: add dirent implementation")
> Cc: pallavi.kadam@intel.com
> 
> Signed-off-by: Weiguo Li <liwg06@foxmail.com>

Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
  
Kadam, Pallavi Feb. 7, 2022, 10:19 p.m. UTC | #2
On 2/7/2022 4:37 AM, Weiguo Li wrote:
> Remove the incomplete cplusplus guard in internal header.
>
> Fixes: 6e1ed4cbbe99 ("eal/windows: add dirent implementation")
> Cc: pallavi.kadam@intel.com
>
> Signed-off-by: Weiguo Li <liwg06@foxmail.com>
> ---
Acked-by: Pallavi Kadam <pallavi.kadam@intel.com>
>
  

Patch

diff --git a/lib/eal/windows/include/dirent.h b/lib/eal/windows/include/dirent.h
index 34eb077f8c..b522424403 100644
--- a/lib/eal/windows/include/dirent.h
+++ b/lib/eal/windows/include/dirent.h
@@ -658,7 +658,4 @@  dirent_set_errno(int error)
 #endif
 }
 
-#ifdef __cplusplus
-}
-#endif
 #endif /*DIRENT_H*/