mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
Add comma to last dirent struct member.
This commit is contained in:
@@ -209,7 +209,7 @@ when ODIN_OS == .Darwin {
|
|||||||
d_off: off_t32, /* directory offset of the next entry */
|
d_off: off_t32, /* directory offset of the next entry */
|
||||||
d_reclen: c.uint16_t, /* length of this record */
|
d_reclen: c.uint16_t, /* length of this record */
|
||||||
d_type: D_Type, /* file type */
|
d_type: D_Type, /* file type */
|
||||||
d_name: [256]c.char `fmt:"s,0"` /* [PSX] entry name */
|
d_name: [256]c.char `fmt:"s,0"`, /* [PSX] entry name */
|
||||||
}
|
}
|
||||||
} else when ODIN_ARCH == .amd64 || ODIN_ARCH == .wasm64p32 || ODIN_ARCH == .arm64 {
|
} else when ODIN_ARCH == .amd64 || ODIN_ARCH == .wasm64p32 || ODIN_ARCH == .arm64 {
|
||||||
|
|
||||||
@@ -218,7 +218,7 @@ when ODIN_OS == .Darwin {
|
|||||||
d_off: off_t, /* directory offset of the next entry */
|
d_off: off_t, /* directory offset of the next entry */
|
||||||
d_reclen: c.uint16_t, /* length of this record */
|
d_reclen: c.uint16_t, /* length of this record */
|
||||||
d_type: D_Type, /* file type */
|
d_type: D_Type, /* file type */
|
||||||
d_name: [256]c.char `fmt:"s,0"` /* [PSX] entry name */
|
d_name: [256]c.char `fmt:"s,0"`, /* [PSX] entry name */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -227,7 +227,7 @@ when ODIN_OS == .Darwin {
|
|||||||
d_off: off_t, /* directory offset of the next entry */
|
d_off: off_t, /* directory offset of the next entry */
|
||||||
d_reclen: c.uint16_t, /* length of this record */
|
d_reclen: c.uint16_t, /* length of this record */
|
||||||
d_type: D_Type, /* file type */
|
d_type: D_Type, /* file type */
|
||||||
d_name: [256]c.char `fmt:"s,0"` /* [PSX] entry name */
|
d_name: [256]c.char `fmt:"s,0"`, /* [PSX] entry name */
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user