diff options
author | 2017-01-14 16:11:48 -0500 | |
---|---|---|
committer | 2017-01-14 16:11:48 -0500 | |
commit | 81102e8eacbf72ad0c5e81c935a957a8824a0922 (patch) | |
tree | f8b51dd1f5214966ad30b0bd7b561afa70dcb4dc /common/list.c | |
parent | Merge pull request #1048 from dkess/proper-output-wrapping (diff) | |
parent | Move awesome config to contrib/ (diff) | |
download | sway-81102e8eacbf72ad0c5e81c935a957a8824a0922.tar.gz sway-81102e8eacbf72ad0c5e81c935a957a8824a0922.tar.zst sway-81102e8eacbf72ad0c5e81c935a957a8824a0922.zip |
Merge pull request #1024 from willakat/master
Add Awesome/Monad style automatic layouts to Sway
Diffstat (limited to 'common/list.c')
-rw-r--r-- | common/list.c | 2 |
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), | |||
76 | return -1; | 76 | return -1; |
77 | } | 77 | } |
78 | 78 | ||
79 | static void list_swap(list_t *list, int src, int dest) { | 79 | void list_swap(list_t *list, int src, int dest) { |
80 | void *tmp = list->items[src]; | 80 | void *tmp = list->items[src]; |
81 | list->items[src] = list->items[dest]; | 81 | list->items[src] = list->items[dest]; |
82 | list->items[dest] = tmp; | 82 | list->items[dest] = tmp; |