Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/common/osal/etMutex.h')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/common/osal/etMutex.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/common/osal/etMutex.h b/runtime/org.eclipse.etrice.runtime.c/src/common/osal/etMutex.h
index 27d0c1118..ec7ae3634 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/common/osal/etMutex.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/common/osal/etMutex.h
@@ -18,6 +18,9 @@
*
* \author Thomas Schuetz, Thomas Jung
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
#ifndef _ETMUTEX_H_
#define _ETMUTEX_H_
@@ -56,3 +59,7 @@ void etMutex_enter(etMutex* self);
void etMutex_leave(etMutex* self);
#endif /* _ETMUTEX_H_ */
+
+#ifdef __cplusplus
+}
+#endif

Back to the top