summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-08-29 15:58:43 +0000
committeralberth <alberth@openttd.org>2010-08-29 15:58:43 +0000
commit9f5a96ead210338d8fc343108a8633da5e04e340 (patch)
treede03e1764ebef64977250f6ca88b26b93e313a63 /src/company_cmd.cpp
parent219ad6e0032efd16afa177e6b6e09c7e7a7b4141 (diff)
downloadopenttd-9f5a96ead210338d8fc343108a8633da5e04e340.tar.xz
(svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file.
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index 77a888876..12947cd06 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -138,7 +138,7 @@ void DrawCompanyIcon(CompanyID c, int x, int y)
* @param cmf the fact to check
* @return true if and only if the face is valid
*/
-bool IsValidCompanyManagerFace(CompanyManagerFace cmf)
+static bool IsValidCompanyManagerFace(CompanyManagerFace cmf)
{
if (!AreCompanyManagerFaceBitsValid(cmf, CMFV_GEN_ETHN, GE_WM)) return false;