summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--benchmark/dict_bench.c2
-rw-r--r--include/zix/common.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/benchmark/dict_bench.c b/benchmark/dict_bench.c
index 82a4b78..640e50e 100644
--- a/benchmark/dict_bench.c
+++ b/benchmark/dict_bench.c
@@ -135,7 +135,7 @@ run(FILE* const fd)
ZixHash* zhash = zix_hash_new(NULL,
identity,
(ZixHashFunc)zix_chunk_hash,
- (ZixEqualFunc)zix_chunk_equal);
+ (ZixKeyEqualFunc)zix_chunk_equal);
fprintf(insert_dat, "%zu", n);
fprintf(search_dat, "%zu", n);
diff --git a/include/zix/common.h b/include/zix/common.h
index 5a71be5..df49afe 100644
--- a/include/zix/common.h
+++ b/include/zix/common.h
@@ -53,9 +53,6 @@ typedef int (*ZixComparator)(const void* a,
const void* b,
const void* user_data);
-/// Function for testing equality of two elements
-typedef bool (*ZixEqualFunc)(const void* a, const void* b);
-
/// Function to destroy an element
typedef void (*ZixDestroyFunc)(void* ptr, const void* user_data);