summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/menus/main_menu.c2
-rw-r--r--apps/menus/time_menu.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 41e25e30f5..4c15b1de4b 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -422,7 +422,7 @@ static void sleep_timer_set(int minutes)
422 set_sleep_timer(minutes * 60); 422 set_sleep_timer(minutes * 60);
423} 423}
424 424
425int sleep_timer(void) 425static int sleep_timer(void)
426{ 426{
427 int minutes = (get_sleep_timer() + 59) / 60; /* round up */ 427 int minutes = (get_sleep_timer() + 59) / 60; /* round up */
428 return (int)set_int(str(LANG_SLEEP_TIMER), "", UNIT_MIN, &minutes, 428 return (int)set_int(str(LANG_SLEEP_TIMER), "", UNIT_MIN, &minutes,
diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c
index cfba387c9e..8e75a15b62 100644
--- a/apps/menus/time_menu.c
+++ b/apps/menus/time_menu.c
@@ -209,7 +209,7 @@ static void draw_timedate(struct viewport *vp, struct screen *display)
209} 209}
210 210
211struct viewport clock[NB_SCREENS], menu[NB_SCREENS]; 211struct viewport clock[NB_SCREENS], menu[NB_SCREENS];
212int time_menu_callback(int action, 212static int time_menu_callback(int action,
213 const struct menu_item_ex *this_item) 213 const struct menu_item_ex *this_item)
214{ 214{
215 (void)this_item; 215 (void)this_item;