diff options
author | 2018-06-29 19:44:54 +1000 | |
---|---|---|
committer | 2018-06-29 19:44:54 +1000 | |
commit | d7169ee7ffd45318125dbe3013aadbd1482a3e5f (patch) | |
tree | 33399a07278aa9f624d7fecee5912a9823e33e4d /include/list.h | |
parent | Fix crash when moving last child of a container to workspace or output (diff) | |
download | sway-d7169ee7ffd45318125dbe3013aadbd1482a3e5f.tar.gz sway-d7169ee7ffd45318125dbe3013aadbd1482a3e5f.tar.zst sway-d7169ee7ffd45318125dbe3013aadbd1482a3e5f.zip |
Replace list_empty with a simple alternative
Diffstat (limited to 'include/list.h')
-rw-r--r-- | include/list.h | 1 |
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); | |||
14 | void list_insert(list_t *list, int index, void *item); | 14 | void list_insert(list_t *list, int index, void *item); |
15 | void list_del(list_t *list, int index); | 15 | void list_del(list_t *list, int index); |
16 | void list_cat(list_t *list, list_t *source); | 16 | void list_cat(list_t *list, list_t *source); |
17 | void 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! |
20 | void list_qsort(list_t *list, int compare(const void *left, const void *right)); | 19 | void list_qsort(list_t *list, int compare(const void *left, const void *right)); |