Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/common/osal/etSema.h')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/common/osal/etSema.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/common/osal/etSema.h b/runtime/org.eclipse.etrice.runtime.c/src/common/osal/etSema.h
index 6819e5d2b..1794a9737 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/common/osal/etSema.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/common/osal/etSema.h
@@ -11,9 +11,6 @@
* Thomas Schuetz (initial contribution)
*
*******************************************************************************/
-#ifdef __cplusplus
-extern "C" {
-#endif
#ifndef _ETSEMA_H_
#define _ETSEMA_H_
@@ -28,6 +25,8 @@ extern "C" {
#include "etDatatypes.h"
+ET_EXTERN_C_BEGIN
+
/**
* etSema holds the object data for a semaphore (for self pointer)
*/
@@ -60,9 +59,6 @@ void etSema_wakeupFromISR(etSema* self);
*/
void etSema_waitForWakeup(etSema* self);
+ET_EXTERN_C_END
#endif /* _ETSEMA_H_ */
-
-#ifdef __cplusplus
-}
-#endif

Back to the top