[2/6] common/mlx5: fix the curly braces mismatch problem
Checks
Commit Message
Supplement the second half of braces for the extern "C" block
Fixes: 7525ebd8ebb0 ("common/mlx5: add glue functions on Windows")
Cc: talshn@nvidia.com
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
---
drivers/common/mlx5/windows/mlx5_win_defs.h | 5 +++++
drivers/common/mlx5/windows/mlx5_win_ext.h | 4 ++++
2 files changed, 9 insertions(+)
@@ -262,4 +262,9 @@ enum {
MLX5_MATCH_MISC_PARAMETERS = 1 << 1,
MLX5_MATCH_INNER_HEADERS = 1 << 2,
};
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __MLX5_WIN_DEFS_H__ */
@@ -44,4 +44,8 @@ struct mlx5_devx_clock {
#define GET_DEVX_CTX(ctx) (((mlx5_context_st *)ctx)->devx_ctx)
#define GET_OBJ_CTX(obj) (((mlx5_devx_obj_st *)obj)->devx_ctx)
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __MLX5_WIN_ETX_H__ */