Changes in uspace/lib/clui/tinput.c [68b5dd11:f2460a50] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/clui/tinput.c
r68b5dd11 rf2460a50 27 27 */ 28 28 29 #include <sort.h>30 29 #include <stdio.h> 31 30 #include <stdlib.h> … … 583 582 584 583 /** Compare two entries in array of completions. */ 585 static int compl_cmp( void *va, void *vb, void *arg)584 static int compl_cmp(const void *va, const void *vb) 586 585 { 587 586 const char *a = *(const char **) va; … … 741 740 /* No common prefix. Sort and display all entries. */ 742 741 743 qsort(compl, cnum, sizeof(char *), compl_cmp , NULL);742 qsort(compl, cnum, sizeof(char *), compl_cmp); 744 743 745 744 tinput_jump_after(ti);
Note:
See TracChangeset
for help on using the changeset viewer.