summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-09 10:40:33 +0000
committerrubidium <rubidium@openttd.org>2009-11-09 10:40:33 +0000
commit860b9b1cead825da2dfc109858f8f134f973f62d (patch)
tree217816b8cd30cd32331090a36222f2e968c830e2 /src/station_cmd.cpp
parentc2221885f488b9a7ca52b11e621582d4c60ab80d (diff)
downloadopenttd-860b9b1cead825da2dfc109858f8f134f973f62d.tar.xz
(svn r18028) -Codechange: unglobalise some functions
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 3e12f6d5f..58ffc5ef3 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -917,7 +917,7 @@ CommandCost FindJoiningBaseStation(StationID existing_station, StationID station
* @param st 'return' pointer for the found station
* @return command cost with the error or 'okay'
*/
-CommandCost FindJoiningStation(StationID existing_station, StationID station_to_join, bool adjacent, TileArea ta, Station **st)
+static CommandCost FindJoiningStation(StationID existing_station, StationID station_to_join, bool adjacent, TileArea ta, Station **st)
{
return FindJoiningBaseStation<Station, STR_ERROR_MUST_REMOVE_RAILWAY_STATION_FIRST>(existing_station, station_to_join, adjacent, ta, st);
}