aboutsummaryrefslogtreecommitdiff
path: root/sway/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/list.c')
-rw-r--r--sway/list.c3
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) {
return list;
}
-static
-void list_resize(list_t *list) {
+static void list_resize(list_t *list) {
if (list->length == list->capacity) {
list->capacity += 10;
list->items = realloc(list->items, sizeof(void*) * list->capacity);