summaryrefslogtreecommitdiffstats
path: root/include/zix/tree.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/tree.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/tree.h')
-rw-r--r--include/zix/tree.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/zix/tree.h b/include/zix/tree.h
index 7b77a7c..919cba9 100644
--- a/include/zix/tree.h
+++ b/include/zix/tree.h
@@ -12,9 +12,7 @@
#include <stdbool.h>
#include <stddef.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+ZIX_BEGIN_DECLS
/**
@defgroup zix_tree Tree
@@ -120,8 +118,6 @@ zix_tree_iter_prev(ZixTreeIter* ZIX_NULLABLE i);
@}
*/
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
+ZIX_END_DECLS
#endif /* ZIX_TREE_H */