get_ref_dir(): require that the dirname argument ends in '/'
[gitweb.git] / mergesort.c
index d084c602d54629932b5811c2d7b5404b3cd8a6be..e5fdf2ee4ad9d42b069cfc8647b39ee271166087 100644 (file)
@@ -23,10 +23,10 @@ static void *pop_item(struct mergesort_sublist *l,
        return p;
 }
 
-void *mergesort(void *list,
-               void *(*get_next_fn)(const void *),
-               void (*set_next_fn)(void *, void *),
-               int (*compare_fn)(const void *, const void *))
+void *llist_mergesort(void *list,
+                     void *(*get_next_fn)(const void *),
+                     void (*set_next_fn)(void *, void *),
+                     int (*compare_fn)(const void *, const void *))
 {
        unsigned long l;