summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/hes_emu.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-09-10 21:08:13 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-09-10 21:08:13 +0000
commite80acd41b8b6450c83a83fe37a47bc75a3d5d88c (patch)
treebc3179b77871384d345edd71ff1e38d4859c27f3 /apps/codecs/libgme/hes_emu.c
parentf163b405c0a6fcf069e79d099ac7d7d64adc4471 (diff)
downloadrockbox-e80acd41b8b6450c83a83fe37a47bc75a3d5d88c.tar.gz
rockbox-e80acd41b8b6450c83a83fe37a47bc75a3d5d88c.zip
libgme: make local functions static, where possible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30498 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libgme/hes_emu.c')
-rw-r--r--apps/codecs/libgme/hes_emu.c6
1 files changed, 3 insertions, 3 deletions
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 )
142 142
143// Emulation 143// Emulation
144 144
145void recalc_timer_load( struct Hes_Emu* this ) 145static void recalc_timer_load( struct Hes_Emu* this )
146{ 146{
147 this->timer.load = this->timer.raw_load * this->timer_base + 1; 147 this->timer.load = this->timer.raw_load * this->timer_base + 1;
148} 148}
@@ -393,7 +393,7 @@ static void adjust_time( hes_time_t* time, hes_time_t delta )
393 } 393 }
394} 394}
395 395
396blargg_err_t end_frame( struct Hes_Emu* this, hes_time_t duration ) 396static blargg_err_t end_frame( struct Hes_Emu* this, hes_time_t duration )
397{ 397{
398 /* if ( run_cpu( this, duration ) ) 398 /* if ( run_cpu( this, duration ) )
399 warning( "Emulation error (illegal instruction)" ); */ 399 warning( "Emulation error (illegal instruction)" ); */
@@ -416,7 +416,7 @@ blargg_err_t end_frame( struct Hes_Emu* this, hes_time_t duration )
416 return 0; 416 return 0;
417} 417}
418 418
419blargg_err_t run_clocks( struct Hes_Emu* this, blip_time_t* duration_ ) 419static blargg_err_t run_clocks( struct Hes_Emu* this, blip_time_t* duration_ )
420{ 420{
421 return end_frame( this, *duration_ ); 421 return end_frame( this, *duration_ );
422} 422}