From 03554253ae5dbdd12d619db81864b38d5e300171 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 20 Oct 2022 21:34:24 -0400 Subject: Factor out public declaration scope markers --- include/zix/thread.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'include/zix/thread.h') 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 -#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 */ -- cgit v1.2.1