mark all local functions as static

This commit is contained in:
degasus
2014-07-08 14:29:26 +02:00
parent 3ff1c538ee
commit 22e1aa5bb4
93 changed files with 260 additions and 251 deletions

View File

@@ -37,12 +37,12 @@ void AddAutoBreakpoints()
}
// Returns true if the address is not a valid RAM address or NULL.
bool IsStackBottom(u32 addr)
static bool IsStackBottom(u32 addr)
{
return !addr || !Memory::IsRAMAddress(addr);
}
void WalkTheStack(const std::function<void(u32)>& stack_step)
static void WalkTheStack(const std::function<void(u32)>& stack_step)
{
if (!IsStackBottom(PowerPC::ppcState.gpr[1]))
{