diff options
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; |