summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
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
commit904bb642548bd5d78ccecf5a4fefb0270fb66130 (patch)
tree4e2b38a471d79ba4088947f97c87ceb0ef2a5768 /src/industry_cmd.cpp
parent31f3d5b6d587945838562be95f756a58773ce07b (diff)
downloadopenttd-904bb642548bd5d78ccecf5a4fefb0270fb66130.tar.xz
(svn r15458) -Fix: Missing 'static'.
Diffstat (limited to 'src/industry_cmd.cpp')
-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);