summaryrefslogtreecommitdiffstats
path: root/include/zix/digest.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zix/digest.h')
-rw-r--r--include/zix/digest.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/zix/digest.h b/include/zix/digest.h
index 5a0eb16..4c15444 100644
--- a/include/zix/digest.h
+++ b/include/zix/digest.h
@@ -9,9 +9,7 @@
#include <stddef.h>
#include <stdint.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+ZIX_BEGIN_DECLS
/**
@defgroup zix_digest Digest
@@ -94,8 +92,6 @@ zix_digest_aligned(size_t seed, const void* ZIX_NONNULL buf, size_t len);
@}
*/
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
+ZIX_END_DECLS
#endif /* ZIX_DIGEST_H */