1
0
Fork 0
forked from len0rd/rockbox

Make local functions static in clock and chessbox plugin

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31505 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2011-12-31 20:29:08 +00:00
parent c003d6c332
commit ba03cb4aea
9 changed files with 54 additions and 53 deletions

View file

@ -57,7 +57,7 @@ const struct button_mapping* plugin_contexts[]={
/**************************
* Cleanup on plugin return
*************************/
void cleanup(void)
static void cleanup(void)
{
clock_draw_restore_colors();
if(clock_settings.general.save_settings == 1)
@ -68,7 +68,7 @@ void cleanup(void)
}
/* puts the current time into the time struct */
void clock_update_time( struct time* time){
static void clock_update_time( struct time* time){
struct tm* current_time = rb->get_time();
time->hour = current_time->tm_hour;
time->minute = current_time->tm_min;