summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/station_cmd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 59598b436..0a6ff2552 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -92,7 +92,8 @@ RoadStop* GetRoadStopByTile(TileIndex tile, RoadStop::Type type)
return rs;
}
-uint GetNumRoadStopsInStation(const Station* st, RoadStop::Type type)
+
+static uint GetNumRoadStopsInStation(const Station* st, RoadStop::Type type)
{
uint num = 0;
const RoadStop *rs;