[PATCH v2 2/6] common/mlx5: fix the curly braces mismatch problem
Weiguo Li
liwg06 at foxmail.com
Mon Feb 7 13:36:57 CET 2022
Remove the incomplete cplusplus guard in internal headers.
Fixes: 7525ebd8ebb0 ("common/mlx5: add glue functions on Windows")
Cc: talshn at nvidia.com
Signed-off-by: Weiguo Li <liwg06 at 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
More information about the dev
mailing list