diff --git a/tst/test_multimap.c b/tst/test_multimap.c index 31eb8f2..b793d6b 100644 --- a/tst/test_multimap.c +++ b/tst/test_multimap.c @@ -633,8 +633,10 @@ static int compare_big_object(const void *const one, const void *const two) return a->n - b->n; } -static int compare_dummy() +static int compare_dummy(const void *const one, const void *const two) { + (void) one; + (void) two; assert(0); } diff --git a/tst/test_unordered_map.c b/tst/test_unordered_map.c index 6202bd8..a8e0bed 100644 --- a/tst/test_unordered_map.c +++ b/tst/test_unordered_map.c @@ -18,8 +18,9 @@ static unsigned long hash_int(const void *const key) return hash; } -static unsigned long bad_hash_int() +static unsigned long bad_hash_int(const void *const key) { + (void) key; return 5; }