diff options
author | rubidium <rubidium@openttd.org> | 2009-11-09 10:40:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-09 10:40:33 +0000 |
commit | 860b9b1cead825da2dfc109858f8f134f973f62d (patch) | |
tree | 217816b8cd30cd32331090a36222f2e968c830e2 /src/ai/ai_gui.cpp | |
parent | c2221885f488b9a7ca52b11e621582d4c60ab80d (diff) | |
download | openttd-860b9b1cead825da2dfc109858f8f134f973f62d.tar.xz |
(svn r18028) -Codechange: unglobalise some functions
Diffstat (limited to 'src/ai/ai_gui.cpp')
-rw-r--r-- | src/ai/ai_gui.cpp | 4 |
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); |