summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2016-11-25 00:10:43 +0100
committerpgen <p.gen.progs@gmail.com>2016-11-25 00:10:43 +0100
commit6057a773eb0bb6527df76884fcbf3d1355e3280c (patch)
tree177ab037e33a0e5d819b7a1797beab1ba846f3a9
parent258503ba3ceffa53ab0b5960c22b387aaa5b24d8 (diff)
Use the function parameters
In the function ll_quicksort, the comp and swap function parameters were not used.
-rw-r--r--smenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/smenu.c b/smenu.c
index 4f1921d..0f2b33c 100644
--- a/smenu.c
+++ b/smenu.c
@@ -1445,7 +1445,7 @@ ll_sort(ll_t * list, int (*comp) (void *, void *),
{
/* Call the recursive ll_quicksort function */
/* """""""""""""""""""""""""""""""""""""""" */
- ll_quicksort(list->head, list->tail, interval_comp, interval_swap);
+ ll_quicksort(list->head, list->tail, comp, swap);
}
/* ================================ */