summaryrefslogtreecommitdiffstats
path: root/include/zix/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zix/tree.h')
-rw-r--r--include/zix/tree.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/zix/tree.h b/include/zix/tree.h
index f363ffc..7b77a7c 100644
--- a/include/zix/tree.h
+++ b/include/zix/tree.h
@@ -6,7 +6,8 @@
#include "zix/allocator.h"
#include "zix/attributes.h"
-#include "zix/common.h"
+#include "zix/function_types.h"
+#include "zix/status.h"
#include <stdbool.h>
#include <stddef.h>
@@ -32,7 +33,7 @@ ZIX_API
ZixTree* ZIX_ALLOCATED
zix_tree_new(ZixAllocator* ZIX_NULLABLE allocator,
bool allow_duplicates,
- ZixComparator ZIX_NONNULL cmp,
+ ZixCompareFunc ZIX_NONNULL cmp,
void* ZIX_NULLABLE cmp_data,
ZixDestroyFunc ZIX_NULLABLE destroy,
const void* ZIX_NULLABLE destroy_user_data);