… | |
… | |
127 | { |
127 | { |
128 | return strcmp (((CommArray_s *)a)->name, ((CommArray_s *)b)->name); |
128 | return strcmp (((CommArray_s *)a)->name, ((CommArray_s *)b)->name); |
129 | } |
129 | } |
130 | |
130 | |
131 | void |
131 | void |
132 | init_commands (void) |
132 | init_commands () |
133 | { |
133 | { |
134 | qsort (Commands, CommandsSize, sizeof (CommArray_s), compare_A); |
134 | qsort (Commands, CommandsSize, sizeof (CommArray_s), compare_A); |
135 | qsort (WizCommands, WizCommandsSize, sizeof (CommArray_s), compare_A); |
135 | qsort (WizCommands, WizCommandsSize, sizeof (CommArray_s), compare_A); |
136 | } |
136 | } |
137 | |
137 | |