Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/clui/tinput.c

    r68b5dd11 rf2460a50  
    2727 */
    2828
    29 #include <sort.h>
    3029#include <stdio.h>
    3130#include <stdlib.h>
     
    583582
    584583/** Compare two entries in array of completions. */
    585 static int compl_cmp(void *va, void *vb, void *arg)
     584static int compl_cmp(const void *va, const void *vb)
    586585{
    587586        const char *a = *(const char **) va;
     
    741740                        /* No common prefix. Sort and display all entries. */
    742741
    743                         qsort(compl, cnum, sizeof(char *), compl_cmp, NULL);
     742                        qsort(compl, cnum, sizeof(char *), compl_cmp);
    744743
    745744                        tinput_jump_after(ti);
Note: See TracChangeset for help on using the changeset viewer.