From 6ddc6f494d4caac06b163300cec2119f1384e2bb Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 13 Dec 2014 05:01:02 +0100 Subject: Turn two functions static --- input.c | 2 +- sound.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/input.c b/input.c index 0fe859f..f4ab6e8 100644 --- a/input.c +++ b/input.c @@ -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]; diff --git a/sound.c b/sound.c index d743e12..126fb5d 100644 --- a/sound.c +++ b/sound.c @@ -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); -- cgit v1.2.3