From fe24d3ffbc0e50bf8ee3e11ea51fc1e555881054 Mon Sep 17 00:00:00 2001 From: night0721 Date: Sun, 17 Nov 2024 19:49:16 +0000 Subject: [PATCH] Update structs --- file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/file.h b/file.h index cb3de00..d73d6db 100644 --- a/file.h +++ b/file.h @@ -13,7 +13,7 @@ enum ftypes { FIF }; -typedef struct file { +typedef struct { char *name; /* basename */ char *path; /* absolute path */ int type; @@ -22,7 +22,7 @@ typedef struct file { int color; } file; -typedef struct ArrayList { +typedef struct { size_t length; size_t capacity; file *items;