diff --git a/powerpc_elf.c b/powerpc_elf.c index 237a30b..f035cd9 100644 --- a/powerpc_elf.c +++ b/powerpc_elf.c @@ -11,12 +11,12 @@ #define PHDR_MAX 10 -Elf32_Ehdr elfhdr; -Elf32_Phdr phdrs[PHDR_MAX]; +static Elf32_Ehdr elfhdr; +static Elf32_Phdr phdrs[PHDR_MAX]; +static FIL fd; int powerpc_load_file(const char *path) { - FIL fd; u32 read; FRESULT fres;