]> git.droids-corp.org - dpdk.git/commitdiff
common/mlx5: remove useless C++ include guard
authorWeiguo Li <liwg06@foxmail.com>
Mon, 7 Feb 2022 12:36:57 +0000 (20:36 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 8 Feb 2022 16:10:54 +0000 (17:10 +0100)
Remove the incomplete cplusplus guard in internal headers.

Fixes: 7525ebd8ebb0 ("common/mlx5: add glue functions on Windows")
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
drivers/common/mlx5/windows/mlx5_win_defs.h
drivers/common/mlx5/windows/mlx5_win_ext.h

index 9f709ff30d59c6f7d061376743b5786c5494015a..3554e4a7ff9d6627505d607d8013d513efa4c8d2 100644 (file)
@@ -5,10 +5,6 @@
 #ifndef __MLX5_WIN_DEFS_H__
 #define __MLX5_WIN_DEFS_H__
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 enum {
        MLX5_CQE_OWNER_MASK     = 1,
        MLX5_CQE_REQ            = 0,
index b5d4484a1366e6926c2f0a6869ec50b607a84154..6f69329a6f19633de94408e61161a357c75f40ff 100644 (file)
@@ -5,10 +5,6 @@
 #ifndef __MLX5_WIN_ETX_H__
 #define __MLX5_WIN_ETX_H__
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #include "mlx5_prm.h"
 #include "mlx5devx.h"