Group :: Emuladores
RPM: emu8051
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: emu8051-2.0.1-alt-gcc10.patch
Download
Download
diff --git a/emu8051/src/common/instructions_8051.h b/emu8051/src/common/instructions_8051.h
index 2797733..5093d80 100644
--- a/emu8051/src/common/instructions_8051.h
+++ b/emu8051/src/common/instructions_8051.h
@@ -1049,7 +1049,7 @@ OPCODE_FP opcode_table[256] = {
cpu8051_OP_FF,
};
#else
-OPCODE_FP opcode_table[256];
+extern OPCODE_FP opcode_table[256];
#endif
diff --git a/emu8051/src/common/options.h b/emu8051/src/common/options.h
index 22dd1bc..9db9d18 100644
--- a/emu8051/src/common/options.h
+++ b/emu8051/src/common/options.h
@@ -13,7 +13,7 @@
#define PACKAGE_DESCRIPTION "Emulator for 8051 family microcontrollers"
-struct options_t {
+extern struct options_t {
int pram_size; /* Maximum program memory size. */
int iram_size; /* Maximum internal ram size. */
int xram_size; /* Maximum external ram size. */