summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
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);