diff options
Diffstat (limited to 'sway/list.c')
-rw-r--r-- | sway/list.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/list.c b/sway/list.c index f01efc92..1be1e17c 100644 --- a/sway/list.c +++ b/sway/list.c | |||
@@ -11,8 +11,7 @@ list_t *create_list(void) { | |||
11 | return list; | 11 | return list; |
12 | } | 12 | } |
13 | 13 | ||
14 | static | 14 | static void list_resize(list_t *list) { |
15 | void list_resize(list_t *list) { | ||
16 | if (list->length == list->capacity) { | 15 | if (list->length == list->capacity) { |
17 | list->capacity += 10; | 16 | list->capacity += 10; |
18 | list->items = realloc(list->items, sizeof(void*) * list->capacity); | 17 | list->items = realloc(list->items, sizeof(void*) * list->capacity); |