summaryrefslogtreecommitdiffstats
path: root/include/zix/sem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zix/sem.h')
-rw-r--r--include/zix/sem.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/zix/sem.h b/include/zix/sem.h
index 3777497..b22dfdd 100644
--- a/include/zix/sem.h
+++ b/include/zix/sem.h
@@ -15,9 +15,7 @@
# include <semaphore.h>
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
+ZIX_BEGIN_DECLS
#include <stdint.h>
@@ -147,8 +145,6 @@ struct ZixSemImpl {
@}
*/
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
+ZIX_END_DECLS
#endif /* ZIX_SEM_H */