diff options
author | 2015-08-10 17:32:50 -0700 | |
---|---|---|
committer | 2015-08-10 17:32:50 -0700 | |
commit | beabb12d63437557da8a2e254a1e0250da448aa6 (patch) | |
tree | f3a0817c74125550a8442aae6cdf2e81e793d3e9 /sway/list.c | |
parent | Merge pull request #14 from taiyu-len/master (diff) | |
download | sway-beabb12d63437557da8a2e254a1e0250da448aa6.tar.gz sway-beabb12d63437557da8a2e254a1e0250da448aa6.tar.zst sway-beabb12d63437557da8a2e254a1e0250da448aa6.zip |
destroys empty workspace + minor bugfixes
Diffstat (limited to 'sway/list.c')
-rw-r--r-- | sway/list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/list.c b/sway/list.c index 52943efe..68455f89 100644 --- a/sway/list.c +++ b/sway/list.c | |||
@@ -3,7 +3,7 @@ | |||
3 | #include <stdlib.h> | 3 | #include <stdlib.h> |
4 | #include <string.h> | 4 | #include <string.h> |
5 | 5 | ||
6 | list_t *create_list() { | 6 | list_t *create_list(void) { |
7 | list_t *list = malloc(sizeof(list_t)); | 7 | list_t *list = malloc(sizeof(list_t)); |
8 | list->capacity = 10; | 8 | list->capacity = 10; |
9 | list->length = 0; | 9 | list->length = 0; |