mark all local functions as static
This commit is contained in:
1 parent
3ff1c538ee
commit
22e1aa5bb4
93 files changed
+260
-251
No files matched your search
@@ -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)));
|
||||
|
||||
Reference in new issue
Block a user