aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/comproc.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-01-03 22:46:26 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-01-03 22:46:26 +0100
commitc7dea850d0a9e1d73e4288fd2b5c722e3da14971 (patch)
treeb316e7a7e60b6f809672a9d818f4d856f94aa43c /FICS/comproc.c
parentc887a8a9fd5ed8058398ff57e643da821e6e2e09 (diff)
Switched to usage of 'who_cmp_t'
Diffstat (limited to 'FICS/comproc.c')
-rw-r--r--FICS/comproc.c3
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;