version 1.55 | | version 1.56 |
---|
| | |
/* | | /* |
* static char *rcsid_commands_c = | | * static char *rcsid_commands_c = |
* "$Id: commands.c,v 1.55 2005/10/23 15:44:42 akirschbaum Exp $"; | | * "$Id: commands.c,v 1.56 2005/12/05 23:34:04 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
return strcmp(((CommArray_s *)a)->name, ((CommArray_s *)b)->name); | | return strcmp(((CommArray_s *)a)->name, ((CommArray_s *)b)->name); |
} | | } |
| | |
void init_commands() | | void init_commands(void) |
{ | | { |
qsort(Commands, CommandsSize, sizeof(CommArray_s), compare_A); | | qsort(Commands, CommandsSize, sizeof(CommArray_s), compare_A); |
qsort(CommunicationCommands, CommunicationCommandSize, sizeof(CommArray_s), compare_A); | | qsort(CommunicationCommands, CommunicationCommandSize, sizeof(CommArray_s), compare_A); |