mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-15 06:58:37 +02:00
mark all local functions as static
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user