version 1.54 | | version 1.55 |
---|
| | |
/* | | /* |
* static char *rcsid_c_misc_c = | | * static char *rcsid_c_misc_c = |
* "$Id: c_misc.c,v 1.54 2005/03/25 07:53:44 cavesomething Exp $"; | | * "$Id: c_misc.c,v 1.55 2005/04/14 19:15:42 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} chars_names; | | } chars_names; |
| | |
/*local functon for qsort comparison*/ | | /*local functon for qsort comparison*/ |
int name_cmp (chars_names *c1, chars_names *c2) | | int name_cmp (const chars_names *c1, const chars_names *c2) |
{ | | { |
return strcasecmp (c1->namebuf, c2->namebuf); | | return strcasecmp (c1->namebuf, c2->namebuf); |
} | | } |
| | |
int num_players = 0; | | int num_players = 0; |
int num_wiz = 0; | | int num_wiz = 0; |
int num_afk = 0; | | int num_afk = 0; |
char players_str[MAX_BUF]; | | |
chars_names *chars = NULL; | | chars_names *chars = NULL; |
| | |
/* | | /* |