summaryrefslogtreecommitdiffstats
path: root/include/zix/allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zix/allocator.h')
-rw-r--r--include/zix/allocator.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/zix/allocator.h b/include/zix/allocator.h
index 7a4f5ee..26db6d3 100644
--- a/include/zix/allocator.h
+++ b/include/zix/allocator.h
@@ -8,9 +8,7 @@
#include <stddef.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+ZIX_BEGIN_DECLS
/**
@defgroup zix_allocator Allocator
@@ -177,8 +175,6 @@ zix_aligned_free(ZixAllocator* const ZIX_NULLABLE allocator,
@}
*/
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
+ZIX_END_DECLS
#endif /* ZIX_ALLOCATOR_H */