Skip to content

Commit

Permalink
Fix missing parameter list (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkthomps authored Nov 26, 2020
1 parent e31876a commit d7c0177
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tst/test_multimap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
3 changes: 2 additions & 1 deletion tst/test_unordered_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d7c0177

Please sign in to comment.