From e80acd41b8b6450c83a83fe37a47bc75a3d5d88c Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sat, 10 Sep 2011 21:08:13 +0000 Subject: libgme: make local functions static, where possible git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30498 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libgme/hes_emu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/codecs/libgme/hes_emu.c') diff --git a/apps/codecs/libgme/hes_emu.c b/apps/codecs/libgme/hes_emu.c index 8ddbb9dc29..d6bafea334 100644 --- a/apps/codecs/libgme/hes_emu.c +++ b/apps/codecs/libgme/hes_emu.c @@ -142,7 +142,7 @@ blargg_err_t Hes_load_mem( struct Hes_Emu* this, void* data, long size ) // Emulation -void recalc_timer_load( struct Hes_Emu* this ) +static void recalc_timer_load( struct Hes_Emu* this ) { this->timer.load = this->timer.raw_load * this->timer_base + 1; } @@ -393,7 +393,7 @@ static void adjust_time( hes_time_t* time, hes_time_t delta ) } } -blargg_err_t end_frame( struct Hes_Emu* this, hes_time_t duration ) +static blargg_err_t end_frame( struct Hes_Emu* this, hes_time_t duration ) { /* if ( run_cpu( this, duration ) ) warning( "Emulation error (illegal instruction)" ); */ @@ -416,7 +416,7 @@ blargg_err_t end_frame( struct Hes_Emu* this, hes_time_t duration ) return 0; } -blargg_err_t run_clocks( struct Hes_Emu* this, blip_time_t* duration_ ) +static blargg_err_t run_clocks( struct Hes_Emu* this, blip_time_t* duration_ ) { return end_frame( this, *duration_ ); } -- cgit v1.2.3