summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-02-12 18:08:47 +0000
committerfrosch <frosch@openttd.org>2009-02-12 18:08:47 +0000
commit565602fe90c2b9a8b6c82fb77d3686df3c309b48 (patch)
tree4e2b38a471d79ba4088947f97c87ceb0ef2a5768
parent9fb19be1340cc5e233d34115d3053395f1b48fc9 (diff)
downloadopenttd-565602fe90c2b9a8b6c82fb77d3686df3c309b48.tar.xz
(svn r15458) -Fix: Missing 'static'.
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 6e93dd5a3..d1c215624 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -1705,7 +1705,7 @@ CommandCost CmdBuildIndustry(TileIndex tile, DoCommandFlag flags, uint32 p1, uin
}
-Industry *CreateNewIndustry(TileIndex tile, IndustryType type)
+static Industry *CreateNewIndustry(TileIndex tile, IndustryType type)
{
const IndustrySpec *indspec = GetIndustrySpec(type);