From 22e1aa5bb4a159d6d66a321f978917614aa36331 Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 8 Jul 2014 14:29:26 +0200 Subject: mark all local functions as static --- Source/Core/DolphinWX/NetWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/DolphinWX/NetWindow.cpp') diff --git a/Source/Core/DolphinWX/NetWindow.cpp b/Source/Core/DolphinWX/NetWindow.cpp index 4860d0b501..495f6c00e7 100644 --- a/Source/Core/DolphinWX/NetWindow.cpp +++ b/Source/Core/DolphinWX/NetWindow.cpp @@ -59,7 +59,7 @@ static NetPlayClient* netplay_client = nullptr; extern CFrame* main_frame; NetPlayDiag *NetPlayDiag::npd = nullptr; -std::string BuildGameName(const GameListItem& game) +static std::string BuildGameName(const GameListItem& game) { // Lang needs to be consistent auto const lang = 0; @@ -74,7 +74,7 @@ std::string BuildGameName(const GameListItem& game) return name + " (" + game.GetUniqueID() + ")"; } -void FillWithGameNames(wxListBox* game_lbox, const CGameListCtrl& game_list) +static void FillWithGameNames(wxListBox* game_lbox, const CGameListCtrl& game_list) { for (u32 i = 0 ; auto game = game_list.GetISO(i); ++i) game_lbox->Append(StrToWxStr(BuildGameName(*game))); -- cgit v1.2.3