diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/list.h | 1 | ||||
-rw-r--r-- | include/sway/server.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/list.h b/include/list.h index 7eead4ac..d352dbd5 100644 --- a/include/list.h +++ b/include/list.h | |||
@@ -14,6 +14,7 @@ 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); | ||
17 | // See qsort. Remember to use *_qsort functions as compare functions, | 18 | // See qsort. Remember to use *_qsort functions as compare functions, |
18 | // because they dereference the left and right arguments first! | 19 | // because they dereference the left and right arguments first! |
19 | void list_qsort(list_t *list, int compare(const void *left, const void *right)); | 20 | void list_qsort(list_t *list, int compare(const void *left, const void *right)); |
diff --git a/include/sway/server.h b/include/sway/server.h index bd96b085..0efc6baa 100644 --- a/include/sway/server.h +++ b/include/sway/server.h | |||
@@ -47,7 +47,7 @@ struct sway_server { | |||
47 | 47 | ||
48 | bool debug_txn_timings; | 48 | bool debug_txn_timings; |
49 | 49 | ||
50 | struct sway_transaction *head_transaction; // singly linked list | 50 | list_t *transactions; |
51 | 51 | ||
52 | // When a view is being destroyed and is waiting for a transaction to | 52 | // When a view is being destroyed and is waiting for a transaction to |
53 | // complete it will be stored here. | 53 | // complete it will be stored here. |