summaryrefslogtreecommitdiffstats
path: root/include/zix/thread.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-10-20 21:34:24 -0400
committerDavid Robillard <d@drobilla.net>2022-10-21 12:45:39 -0400
commit03554253ae5dbdd12d619db81864b38d5e300171 (patch)
treeca08314421d4f80e46317eb2c56fd88cf9f3984f /include/zix/thread.h
parent2ff624eae24742faf17889f858dbdaa6d4a064ea (diff)
downloadzix-03554253ae5dbdd12d619db81864b38d5e300171.tar.gz
zix-03554253ae5dbdd12d619db81864b38d5e300171.tar.bz2
zix-03554253ae5dbdd12d619db81864b38d5e300171.zip
Factor out public declaration scope markers
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 */