Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37864696
en ru br
ALT Linux repositórios
S:2.0.1-alt1
5.0: 0.71-alt1
4.1: 0.71-alt1

Group :: Emuladores
RPM: emu8051

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: emu8051-2.0.1-alt-gcc10.patch
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. */
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009