Turn two functions static

This commit is contained in:
twinaphex 2014-12-13 05:01:02 +01:00
parent 87b34754f8
commit 6ddc6f494d
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ static retro_input_state_t input_state_cb;
void retro_set_input_state(retro_input_state_t cb) { input_state_cb = cb; }
void trigger_key(u32 key)
static void trigger_key(u32 key)
{
u32 p1_cnt = io_registers[REG_P1CNT];

View File

@ -531,7 +531,7 @@ void update_gbc_sound(u32 cpu_ticks)
// angeneraldiscussion&Number=2069&page=0&view=expanded&mode=threaded&sb=4
// Hope you don't mind me borrowing it ^_-
void init_noise_table(u32 *table, u32 period, u32 bit_length)
static void init_noise_table(u32 *table, u32 period, u32 bit_length)
{
u32 shift_register = 0xFF;
u32 mask = ~(1 << bit_length);