diff options
author | smatz <smatz@openttd.org> | 2008-05-04 21:53:36 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-05-04 21:53:36 +0000 |
commit | 89a8dc8cf7dd41a7c252dd91fc9c323651cfc95d (patch) | |
tree | 741c48c433316b11af1a790772deb3a4078fe47c /src/network/network.cpp | |
parent | 8fe14f716238d9e9863a7216664dc4ce038370f6 (diff) | |
download | openttd-89a8dc8cf7dd41a7c252dd91fc9c323651cfc95d.tar.xz |
(svn r12944) -Codechange: use rev.h instead of externs at many places
Diffstat (limited to 'src/network/network.cpp')
-rw-r--r-- | src/network/network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp index 26009d749..a73337ae6 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -31,6 +31,7 @@ #include "../string_func.h" #include "../player_func.h" #include "../settings_type.h" +#include "../rev.h" #ifdef DEBUG_DUMP_COMMANDS #include "../core/alloc_func.hpp" #endif /* DEBUG_DUMP_COMMANDS */ @@ -1470,7 +1471,6 @@ void NetworkShutDown() */ bool IsNetworkCompatibleVersion(const char *other) { - extern const char _openttd_revision[]; return strncmp(_openttd_revision, other, NETWORK_REVISION_LENGTH - 1) == 0; } |