summaryrefslogtreecommitdiffstats
path: root/include/zix/hash.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/hash.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/hash.h')
-rw-r--r--include/zix/hash.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/zix/hash.h b/include/zix/hash.h
index 397e055..d362389 100644
--- a/include/zix/hash.h
+++ b/include/zix/hash.h
@@ -11,9 +11,7 @@
#include <stdbool.h>
#include <stddef.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+ZIX_BEGIN_DECLS
/**
@defgroup zix_hash Hash
@@ -321,8 +319,6 @@ zix_hash_find_record(const ZixHash* ZIX_NONNULL hash,
@}
*/
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
+ZIX_END_DECLS
#endif /* ZIX_HASH_H */