mirror of
https://github.com/SuperBFG7/ympd
synced 2025-04-10 04:36:46 +00:00
Fix: renamed function list_order to list_sort_by_value
This commit is contained in:
parent
d7c9d549be
commit
68a72e720c
@ -79,7 +79,7 @@ int list_shuffle(struct list *l) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int list_order(struct list *l, bool order) {
|
||||
int list_sort_by_value(struct list *l, bool order) {
|
||||
int swapped;
|
||||
struct node *ptr1;
|
||||
struct node *lptr = NULL;
|
||||
|
@ -17,6 +17,6 @@ int list_replace(struct list *l, int pos, char *data, int value);
|
||||
int list_free(struct list *l);
|
||||
int list_get_value(const struct list *l, char *data);
|
||||
int list_shuffle(struct list *l);
|
||||
int list_order(struct list *l, bool order);
|
||||
int list_sort_by_value(struct list *l, bool order);
|
||||
int list_swap_item(struct node *n1, struct node *n2);
|
||||
struct node *list_node_at(const struct list * l, unsigned index);
|
||||
|
@ -402,7 +402,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
list_init(&syscmds);
|
||||
read_syscmds();
|
||||
list_order(&syscmds, true);
|
||||
list_sort_by_value(&syscmds, true);
|
||||
|
||||
list_init(&mpd_tags);
|
||||
list_init(&mympd_tags);
|
||||
|
Loading…
x
Reference in New Issue
Block a user