summaryrefslogtreecommitdiffstats
path: root/include/zix/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zix/thread.h')
-rw-r--r--include/zix/thread.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/zix/thread.h b/include/zix/thread.h
index 14c525d..3ba4702 100644
--- a/include/zix/thread.h
+++ b/include/zix/thread.h
@@ -15,9 +15,7 @@
#include <stddef.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+ZIX_BEGIN_DECLS
/**
@defgroup zix_thread Thread
@@ -78,8 +76,6 @@ zix_thread_join(ZixThread thread);
@}
*/
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
+ZIX_END_DECLS
#endif /* ZIX_THREAD_H */