version 1.10 | | version 1.11 |
---|
| | |
/* | | /* |
* static char *rcsid_c_range_c = | | * static char *rcsid_c_range_c = |
* "$Id: c_range.c,v 1.10 2003/10/27 07:24:14 mwedel Exp $"; | | * "$Id: c_range.c,v 1.11 2005/08/12 13:46:34 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* string. given the code above, this is always | | * string. given the code above, this is always |
* the case. | | * the case. |
*/ | | */ |
qsort(spell_sort, num_found, MAX_BUF, (int (*)())strcmp); | | qsort(spell_sort, num_found, MAX_BUF, (int (*)(const void*, const void*))strcmp); |
strcpy(tmp,"asdfg"); /* Dummy string so initial compare fails */ | | strcpy(tmp,"asdfg"); /* Dummy string so initial compare fails */ |
for (i=0; i<num_found; i++) { | | for (i=0; i<num_found; i++) { |
/* Different skill name, so print banner */ | | /* Different skill name, so print banner */ |