Now compiles under GCC 10 (GCC 10 now defaults to -fno-common)

This commit is contained in:
Dylan G
2020-05-31 17:45:05 +01:00
parent 193feedf25
commit ef774ce0b4
4 changed files with 12 additions and 8 deletions

View File

@@ -29,9 +29,9 @@
#include "common.h"
FS_Archive ArchiveSD;
FS_Archive ArchiveHomeExt;
FS_Archive ArchiveThemeExt;
extern FS_Archive ArchiveSD;
extern FS_Archive ArchiveHomeExt;
extern FS_Archive ArchiveThemeExt;
Result open_archives(void);
Result close_archives(void);
@@ -43,4 +43,4 @@ u32 zip_file_to_buf(char *file_name, u16 *zip_path, char **buf);
Result buf_to_file(u32 size, FS_Path path, FS_Archive archive, char *buf);
void remake_file(FS_Path path, FS_Archive archive, u32 size);
#endif
#endif