Update structs
This commit is contained in:
parent
155e0d2666
commit
fe24d3ffbc
1 changed files with 2 additions and 2 deletions
4
file.h
4
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;
|
||||
|
|
Loading…
Reference in a new issue