summaryrefslogtreecommitdiffstats
path: root/apps/menus/display_menu.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-05-03 08:35:14 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-05-03 08:35:14 +0000
commite15f8a21a971920558a6f463586b16a0ee49ad79 (patch)
tree91d6771d0979c43e5390dc1de0ba79cd0638ba25 /apps/menus/display_menu.c
parent9c1ab1f0572da9d68f45fc8cb6c361cee0b33376 (diff)
downloadrockbox-e15f8a21a971920558a6f463586b16a0ee49ad79.tar.gz
rockbox-e15f8a21a971920558a6f463586b16a0ee49ad79.tar.bz2
rockbox-e15f8a21a971920558a6f463586b16a0ee49ad79.zip
Made source files #include the header file that they implement to make sure they are in sync. Made some local functions static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17312 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/display_menu.c')
-rw-r--r--apps/menus/display_menu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c
index d593e9b8f3..3bcf5f08e4 100644
--- a/apps/menus/display_menu.c
+++ b/apps/menus/display_menu.c
@@ -37,7 +37,7 @@
#include "backdrop.h"
#ifdef HAVE_BACKLIGHT
-int filterfirstkeypress_callback(int action,const struct menu_item_ex *this_item)
+static int filterfirstkeypress_callback(int action,const struct menu_item_ex *this_item)
{
(void)this_item;
switch (action)
@@ -55,7 +55,7 @@ int filterfirstkeypress_callback(int action,const struct menu_item_ex *this_item
}
#endif
#ifdef HAVE_LCD_BITMAP
-int flipdisplay_callback(int action,const struct menu_item_ex *this_item)
+static int flipdisplay_callback(int action,const struct menu_item_ex *this_item)
{
(void)this_item;
switch (action)
@@ -251,7 +251,7 @@ MENUITEM_SETTING(list_accel_start_delay,
MENUITEM_SETTING(list_accel_wait, &global_settings.list_accel_wait, NULL);
#endif /* HAVE_SCROLLWHEEL */
#ifdef HAVE_LCD_BITMAP
-int screenscroll_callback(int action,const struct menu_item_ex *this_item)
+static int screenscroll_callback(int action,const struct menu_item_ex *this_item)
{
(void)this_item;
switch (action)
@@ -294,7 +294,7 @@ MAKE_MENU(scroll_settings_menu, ID2P(LANG_SCROLL_MENU), 0, Icon_NOICON,
/***********************************/
/* BARS MENU */
#ifdef HAVE_LCD_BITMAP
-int statusbar_callback(int action,const struct menu_item_ex *this_item)
+static int statusbar_callback(int action,const struct menu_item_ex *this_item)
{
(void)this_item;
switch (action)
@@ -328,7 +328,7 @@ MAKE_MENU(bars_menu, ID2P(LANG_BARS_MENU), 0, Icon_NOICON,
/* PEAK METER MENU */
#ifdef HAVE_LCD_BITMAP
-int peakmeter_callback(int action,const struct menu_item_ex *this_item)
+static int peakmeter_callback(int action,const struct menu_item_ex *this_item)
{
(void)this_item;
switch (action)