aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorwil <william.barsse@gmail.com>2016-12-29 20:30:32 +0100
committerwil <william.barsse@gmail.com>2016-12-29 20:31:30 +0100
commit1b87193c3d63c8d884b5a45451a000d9b930521e (patch)
treeed5797d8f716066f819ed2d81832a4d038b6b6c2 /common
parenta0aa8d9780c6c8b0138800e3b2c2c0053174a2c5 (diff)
Added "layout promote" command.
Diffstat (limited to 'common')
-rw-r--r--common/list.c2
1 files changed, 1 insertions, 1 deletions
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;