From f2b3c76fb26abafb834520f2d18088e7399f221b Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Thu, 4 Apr 2024 17:03:54 +0200
Subject: [PATCH] Move the C++ protection

---
 include/chameleon/runtime_struct.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/chameleon/runtime_struct.h b/include/chameleon/runtime_struct.h
index 2488a4b25..77cb788e3 100644
--- a/include/chameleon/runtime_struct.h
+++ b/include/chameleon/runtime_struct.h
@@ -25,8 +25,6 @@
 
 #include "chameleon/types.h"
 
-BEGIN_C_DECLS
-
 /**
  * Datatype for distributed version
  */
@@ -41,6 +39,8 @@ typedef uintptr_t MPI_Comm;
 #endif
 #endif
 
+BEGIN_C_DECLS
+
 /**
  * @brief Ids of the runtime supported by the RUNTIME API
  */
-- 
GitLab