summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2014-12-13 05:01:02 +0100
committertwinaphex2014-12-13 05:01:02 +0100
commit6ddc6f494d4caac06b163300cec2119f1384e2bb (patch)
tree803f1c6d4ecf3cbc47e963144f84f6fa5591703d
parent87b34754f8c0167a06320ea9215359e955687f8f (diff)
downloadpicogpsp-6ddc6f494d4caac06b163300cec2119f1384e2bb.tar.gz
picogpsp-6ddc6f494d4caac06b163300cec2119f1384e2bb.tar.bz2
picogpsp-6ddc6f494d4caac06b163300cec2119f1384e2bb.zip
Turn two functions static
-rw-r--r--input.c2
-rw-r--r--sound.c2
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);