summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/network_internal.h2
-rw-r--r--src/openttd.h4
-rw-r--r--src/variables.h4
3 files changed, 4 insertions, 6 deletions
diff --git a/src/network/network_internal.h b/src/network/network_internal.h
index 4ed6141e0..dd6b401c3 100644
--- a/src/network/network_internal.h
+++ b/src/network/network_internal.h
@@ -93,8 +93,6 @@ enum NetworkLanguage {
NETLANG_COUNT
};
-#define VARDEF extern
-
extern NetworkPlayerInfo _network_player_info[MAX_PLAYERS];
extern uint32 _frame_counter_server; // The frame_counter of the server, if in network-mode
diff --git a/src/openttd.h b/src/openttd.h
index 7f61ca62e..44a39893d 100644
--- a/src/openttd.h
+++ b/src/openttd.h
@@ -5,10 +5,6 @@
#ifndef OPENTTD_H
#define OPENTTD_H
-#ifndef VARDEF
-#define VARDEF extern
-#endif
-
enum GameModes {
GM_MENU,
GM_NORMAL,
diff --git a/src/variables.h b/src/variables.h
index 3091fefc2..0304195f2 100644
--- a/src/variables.h
+++ b/src/variables.h
@@ -5,6 +5,10 @@
#ifndef VARIABLES_H
#define VARIABLES_H
+#ifndef VARDEF
+#define VARDEF extern
+#endif
+
/* Amount of game ticks */
VARDEF uint16 _tick_counter;