diff options
| author | Bertrik Sikken <bertrik@sikken.nl> | 2011-12-31 20:29:08 +0000 |
|---|---|---|
| committer | Bertrik Sikken <bertrik@sikken.nl> | 2011-12-31 20:29:08 +0000 |
| commit | ba03cb4aea212553f47a9da672fdd897e9f2e620 (patch) | |
| tree | 27a03c72fa0a4416ad32c338947234f46aa7d296 /apps/plugins/clock/clock.c | |
| parent | c003d6c3328a59d071c2497b72b3e926be086530 (diff) | |
| download | rockbox-ba03cb4aea212553f47a9da672fdd897e9f2e620.zip rockbox-ba03cb4aea212553f47a9da672fdd897e9f2e620.tar.gz rockbox-ba03cb4aea212553f47a9da672fdd897e9f2e620.tar.bz2 rockbox-ba03cb4aea212553f47a9da672fdd897e9f2e620.tar.xz | |
Make local functions static in clock and chessbox plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31505 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/clock/clock.c')
| -rw-r--r-- | apps/plugins/clock/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/clock/clock.c b/apps/plugins/clock/clock.c index 641a1e7..d287c75 100644 --- a/apps/plugins/clock/clock.c +++ b/apps/plugins/clock/clock.c @@ -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; |