diff options
author | David Robillard <d@drobilla.net> | 2022-10-20 21:34:24 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-10-21 12:45:39 -0400 |
commit | 03554253ae5dbdd12d619db81864b38d5e300171 (patch) | |
tree | ca08314421d4f80e46317eb2c56fd88cf9f3984f /include/zix/sem.h | |
parent | 2ff624eae24742faf17889f858dbdaa6d4a064ea (diff) | |
download | zix-03554253ae5dbdd12d619db81864b38d5e300171.tar.gz zix-03554253ae5dbdd12d619db81864b38d5e300171.tar.bz2 zix-03554253ae5dbdd12d619db81864b38d5e300171.zip |
Factor out public declaration scope markers
Diffstat (limited to 'include/zix/sem.h')
-rw-r--r-- | include/zix/sem.h | 8 |
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 */ |