version 1.9 | | version 1.10 |
---|
| | |
/* | | /* |
* static char *rcsid_c_new_c = | | * static char *rcsid_c_new_c = |
* "$Id: c_new.c,v 1.9 2006/03/18 15:05:37 ryo_saeba Exp $"; | | * "$Id: c_new.c,v 1.10 2006/03/18 17:15:25 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
static int compare_A(const void *a, const void *b) | | static int compare_A(const void *a, const void *b) |
{ | | { |
return strcmp(((command_array_struct *)a)->name, ((command_array_struct *)b)->name); | | return strcmp(((const command_array_struct *)a)->name, ((const command_array_struct *)b)->name); |
} | | } |
| | |
static command_array_struct *find_command_element(char *cmd, command_array_struct *commarray, | | static command_array_struct *find_command_element(char *cmd, command_array_struct *commarray, |