projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51e5ca9
)
removed duplicate definition of global variable
author
Holger Schemel
<info@artsoft.org>
Fri, 31 Jan 2020 16:10:33 +0000
(17:10 +0100)
committer
Holger Schemel
<info@artsoft.org>
Tue, 19 May 2020 16:12:54 +0000
(18:12 +0200)
This would cause a compilation error with GCC 10, where "-fno-common"
is set by default.
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index 59faa000e1ccb64b15051c6a1dc8cd2ee5fa7f12..a85da6967248e33652cae5d966bac49df4c38b25 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-132,7
+132,6
@@
struct LevelInfo level, level_template;
struct PlayerInfo stored_player[MAX_PLAYERS], *local_player = NULL;
struct HiScore highscore[MAX_SCORE_ENTRIES];
struct TapeInfo tape;
-struct SetupInfo setup;
struct GameInfo game;
struct GlobalInfo global;
struct BorderInfo border;