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

@ -43,7 +43,7 @@ void DoState(PointerWrap &p)
ResetDecoding();
}
void DecodePrimitiveStream(u32 iBufferSize)
static void DecodePrimitiveStream(u32 iBufferSize)
{
u32 vertexSize = vertexLoader.GetVertexSize();
@ -77,7 +77,7 @@ void DecodePrimitiveStream(u32 iBufferSize)
}
}
void ReadXFData(u32 iBufferSize)
static void ReadXFData(u32 iBufferSize)
{
_assert_msg_(VIDEO, iBufferSize >= (u32)(streamSize * 4), "Underflow during standard opcode decoding");
@ -90,7 +90,7 @@ void ReadXFData(u32 iBufferSize)
ResetDecoding();
}
void ExecuteDisplayList(u32 addr, u32 count)
static void ExecuteDisplayList(u32 addr, u32 count)
{
u8 *videoDataSave = g_pVideoData;
@ -114,7 +114,7 @@ void ExecuteDisplayList(u32 addr, u32 count)
g_pVideoData = videoDataSave;
}
void DecodeStandard(u32 bufferSize)
static void DecodeStandard(u32 bufferSize)
{
_assert_msg_(VIDEO, CommandRunnable(bufferSize), "Underflow during standard opcode decoding");