Ignore:
File:
1 edited

Legend:

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

    rf2460a50 r68b5dd11  
    2727 */
    2828
     29#include <sort.h>
    2930#include <stdio.h>
    3031#include <stdlib.h>
     
    582583
    583584/** Compare two entries in array of completions. */
    584 static int compl_cmp(const void *va, const void *vb)
     585static int compl_cmp(void *va, void *vb, void *arg)
    585586{
    586587        const char *a = *(const char **) va;
     
    740741                        /* No common prefix. Sort and display all entries. */
    741742
    742                         qsort(compl, cnum, sizeof(char *), compl_cmp);
     743                        qsort(compl, cnum, sizeof(char *), compl_cmp, NULL);
    743744
    744745                        tinput_jump_after(ti);
Note: See TracChangeset for help on using the changeset viewer.