summaryrefslogtreecommitdiff
path: root/src/ai
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/ai
parentc2221885f488b9a7ca52b11e621582d4c60ab80d (diff)
downloadopenttd-860b9b1cead825da2dfc109858f8f134f973f62d.tar.xz
(svn r18028) -Codechange: unglobalise some functions
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
index e100b456c..a88f56aa0 100644
--- a/src/ai/ai_gui.cpp
+++ b/src/ai/ai_gui.cpp
@@ -239,7 +239,7 @@ static const WindowDesc _ai_list_desc(
NULL, _nested_ai_list_widgets, lengthof(_nested_ai_list_widgets)
);
-void ShowAIListWindow(CompanyID slot)
+static void ShowAIListWindow(CompanyID slot)
{
DeleteWindowByClass(WC_AI_LIST);
new AIListWindow(&_ai_list_desc, slot);
@@ -438,7 +438,7 @@ static const WindowDesc _ai_settings_desc(
NULL, _nested_ai_settings_widgets, lengthof(_nested_ai_settings_widgets)
);
-void ShowAISettingsWindow(CompanyID slot)
+static void ShowAISettingsWindow(CompanyID slot)
{
DeleteWindowByClass(WC_AI_LIST);
DeleteWindowByClass(WC_AI_SETTINGS);