diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-01-03 22:46:26 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-01-03 22:46:26 +0100 |
commit | c7dea850d0a9e1d73e4288fd2b5c722e3da14971 (patch) | |
tree | b316e7a7e60b6f809672a9d818f4d856f94aa43c /FICS | |
parent | c887a8a9fd5ed8058398ff57e643da821e6e2e09 (diff) |
Switched to usage of 'who_cmp_t'
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/comproc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/FICS/comproc.c b/FICS/comproc.c index 20385c3..526c5a5 100644 --- a/FICS/comproc.c +++ b/FICS/comproc.c @@ -1098,8 +1098,7 @@ alpha_cmp(const void *pp1, const void *pp2) } PRIVATE void -sort_players(int players[PARRAY_SIZE], int ((*cmp_func)(const void *, - const void *))) +sort_players(int players[PARRAY_SIZE], who_cmp_t cmp_func) { for (int i = 0; i < p_num; i++) players[i] = i; |