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

@ -160,14 +160,14 @@ void DSPAssembler::ShowError(err_t err_code, const char *extra_info)
last_error = err_code;
}
char *skip_spaces(char *ptr)
static char *skip_spaces(char *ptr)
{
while (*ptr == ' ')
ptr++;
return ptr;
}
const char *skip_spaces(const char *ptr)
static const char *skip_spaces(const char *ptr)
{
while (*ptr == ' ')
ptr++;
@ -510,7 +510,7 @@ const opc_t *DSPAssembler::FindOpcode(const char *opcode, u32 par_count, const o
}
// weird...
u16 get_mask_shifted_down(u16 mask)
static u16 get_mask_shifted_down(u16 mask)
{
while (!(mask & 1))
mask >>= 1;