summaryrefslogtreecommitdiff
path: root/apps/plugins/clock.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-12-28 14:53:13 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-12-28 14:53:13 +0000
commit1c4ea83bba9ce7ec7ede6141c1ee66c12c20f1d6 (patch)
tree9c90c6e06cbe9a4da1129367f48bff6d8e0d0442 /apps/plugins/clock.c
parent8941ad5c6aa2f1878ee72ba140b750ba9df38f33 (diff)
Fixed yellow and red builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4182 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/clock.c')
-rw-r--r--apps/plugins/clock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/clock.c b/apps/plugins/clock.c
index 64cf8a56f1..fa910efee2 100644
--- a/apps/plugins/clock.c
+++ b/apps/plugins/clock.c
@@ -110,6 +110,9 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
struct tm* current_time;
+ bool exit = false;
+ bool used = false;
+
TEST_PLUGIN_API(api);
(void)parameter;
rb = api;
@@ -127,9 +130,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
/* start all the clock stuff */
- bool exit = false;
- bool used = false;
-
/* Time info */
current_time = rb->get_time();
hour = current_time->tm_hour;