diff options
| author | Bertrik Sikken <bertrik@sikken.nl> | 2008-05-03 08:35:14 +0000 |
|---|---|---|
| committer | Bertrik Sikken <bertrik@sikken.nl> | 2008-05-03 08:35:14 +0000 |
| commit | e15f8a21a971920558a6f463586b16a0ee49ad79 (patch) | |
| tree | 91d6771d0979c43e5390dc1de0ba79cd0638ba25 /apps/menus | |
| parent | 9c1ab1f0572da9d68f45fc8cb6c361cee0b33376 (diff) | |
| download | rockbox-e15f8a21a971920558a6f463586b16a0ee49ad79.zip rockbox-e15f8a21a971920558a6f463586b16a0ee49ad79.tar.gz rockbox-e15f8a21a971920558a6f463586b16a0ee49ad79.tar.bz2 rockbox-e15f8a21a971920558a6f463586b16a0ee49ad79.tar.xz | |
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')
| -rw-r--r-- | apps/menus/display_menu.c | 10 | ||||
| -rw-r--r-- | apps/menus/recording_menu.c | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c index d593e9b..3bcf5f0 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) diff --git a/apps/menus/recording_menu.c b/apps/menus/recording_menu.c index aa16adf..887d89a 100644 --- a/apps/menus/recording_menu.c +++ b/apps/menus/recording_menu.c @@ -62,6 +62,7 @@ #endif #include "action.h" #include "recording.h" +#include "sound_menu.h" static bool no_source_in_menu = false; |