mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 03:11:27 +00:00
style
This commit is contained in:
parent
0490988673
commit
4c87498222
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue