diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-29 19:44:54 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-29 19:44:54 +1000 |
commit | d7169ee7ffd45318125dbe3013aadbd1482a3e5f (patch) | |
tree | 33399a07278aa9f624d7fecee5912a9823e33e4d /include | |
parent | e8fb6b3325ee545312c092f0b103eea2424fce9f (diff) | |
download | sway-d7169ee7ffd45318125dbe3013aadbd1482a3e5f.tar.xz |
Replace list_empty with a simple alternative
Diffstat (limited to 'include')
-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); void list_insert(list_t *list, int index, void *item); void list_del(list_t *list, int index); void list_cat(list_t *list, list_t *source); -void list_empty(list_t *list); // See qsort. Remember to use *_qsort functions as compare functions, // because they dereference the left and right arguments first! void list_qsort(list_t *list, int compare(const void *left, const void *right)); |