From 1b87193c3d63c8d884b5a45451a000d9b930521e Mon Sep 17 00:00:00 2001 From: wil Date: Thu, 29 Dec 2016 20:30:32 +0100 Subject: Added "layout promote" command. --- common/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/list.c b/common/list.c index dd864a9b..39cc10e1 100644 --- a/common/list.c +++ b/common/list.c @@ -76,7 +76,7 @@ int list_seq_find(list_t *list, int compare(const void *item, const void *data), return -1; } -static void list_swap(list_t *list, int src, int dest) { +void list_swap(list_t *list, int src, int dest) { void *tmp = list->items[src]; list->items[src] = list->items[dest]; list->items[dest] = tmp; -- cgit v1.2.3-54-g00ecf