mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-06 19:01:36 +03:00
mark all local functions as static
This commit is contained in:
parent
3ff1c538ee
commit
22e1aa5bb4
93 changed files with 260 additions and 251 deletions
|
@ -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)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue