Remove the incomplete cplusplus guard in internal headers. Fixes: 7525ebd8ebb0 ("common/mlx5: add glue functions on Windows") Cc: tal...@nvidia.com
Signed-off-by: Weiguo Li <liw...@foxmail.com> --- drivers/common/mlx5/windows/mlx5_win_defs.h | 4 ---- drivers/common/mlx5/windows/mlx5_win_ext.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/drivers/common/mlx5/windows/mlx5_win_defs.h b/drivers/common/mlx5/windows/mlx5_win_defs.h index 9f709ff30d..3554e4a7ff 100644 --- a/drivers/common/mlx5/windows/mlx5_win_defs.h +++ b/drivers/common/mlx5/windows/mlx5_win_defs.h @@ -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, diff --git a/drivers/common/mlx5/windows/mlx5_win_ext.h b/drivers/common/mlx5/windows/mlx5_win_ext.h index b5d4484a13..6f69329a6f 100644 --- a/drivers/common/mlx5/windows/mlx5_win_ext.h +++ b/drivers/common/mlx5/windows/mlx5_win_ext.h @@ -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" -- 2.25.1