Fixed compiler warnings

This commit is contained in:
Alex 2022-11-07 03:16:11 +02:00
parent 5ead0d7f9b
commit 0ee2230ca9
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -51,6 +51,8 @@ struct Fex
int (*Pointer)(void *); int (*Pointer)(void *);
} __attribute__((packed)); } __attribute__((packed));
struct KernelCallback;
struct FexExtended struct FexExtended
{ {
struct struct
@ -99,7 +101,7 @@ struct FexExtended
* @note Must include ".header : { *(.header .header.*) }" in linker script * @note Must include ".header : { *(.header .header.*) }" in linker script
*/ */
#define HEAD(FormatType, OperatingSystem, Address) \ #define HEAD(FormatType, OperatingSystem, Address) \
__attribute__((section(".header"))) Fex FexHeader = { \ __attribute__((section(".header"))) struct Fex FexHeader = { \
.Magic = {'F', 'E', 'X', '\0'}, \ .Magic = {'F', 'E', 'X', '\0'}, \
.Type = FormatType, \ .Type = FormatType, \
.OS = OperatingSystem, \ .OS = OperatingSystem, \