summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-29 19:44:54 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-29 19:44:54 +1000
commitd7169ee7ffd45318125dbe3013aadbd1482a3e5f (patch)
tree33399a07278aa9f624d7fecee5912a9823e33e4d /include
parentFix crash when moving last child of a container to workspace or output (diff)
downloadsway-d7169ee7ffd45318125dbe3013aadbd1482a3e5f.tar.gz
sway-d7169ee7ffd45318125dbe3013aadbd1482a3e5f.tar.zst
sway-d7169ee7ffd45318125dbe3013aadbd1482a3e5f.zip
Replace list_empty with a simple alternative
Diffstat (limited to 'include')
-rw-r--r--include/list.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/list.h b/include/list.h
index d352dbd5..7eead4ac 100644
--- a/include/list.h
+++ b/include/list.h
@@ -14,7 +14,6 @@ void list_add(list_t *list, void *item);
14void list_insert(list_t *list, int index, void *item); 14void list_insert(list_t *list, int index, void *item);
15void list_del(list_t *list, int index); 15void list_del(list_t *list, int index);
16void list_cat(list_t *list, list_t *source); 16void list_cat(list_t *list, list_t *source);
17void list_empty(list_t *list);
18// See qsort. Remember to use *_qsort functions as compare functions, 17// See qsort. Remember to use *_qsort functions as compare functions,
19// because they dereference the left and right arguments first! 18// because they dereference the left and right arguments first!
20void list_qsort(list_t *list, int compare(const void *left, const void *right)); 19void list_qsort(list_t *list, int compare(const void *left, const void *right));