diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2009-08-06 09:28:25 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-08-06 09:28:25 +0000 |
commit | d767883a417667ceebf5bb241d02337f34bc8016 (patch) | |
tree | 7136c4a1fd24d01176d3790e4b5d49f39cd6267b /apps/gui | |
parent | 0307cd16a094b9b03da8fbcf237470ce2ad75cf7 (diff) | |
download | rockbox-d767883a417667ceebf5bb241d02337f34bc8016.tar.gz rockbox-d767883a417667ceebf5bb241d02337f34bc8016.zip |
Various files: make functions static if they're local or make sure there is a proper #include if not
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22184 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/list.c | 5 | ||||
-rw-r--r-- | apps/gui/list.h | 5 | ||||
-rw-r--r-- | apps/gui/wps.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c index eb9c025a95..8a65d3f298 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c | |||
@@ -580,11 +580,6 @@ void gui_synclist_speak_item(struct gui_synclist * lists) | |||
580 | else _gui_synclist_speak_item(lists, false); | 580 | else _gui_synclist_speak_item(lists, false); |
581 | } | 581 | } |
582 | 582 | ||
583 | #if defined(HAVE_TOUCHSCREEN) | ||
584 | /* this needs to be fixed if we ever get more than 1 touchscreen on a target */ | ||
585 | unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list); | ||
586 | #endif | ||
587 | |||
588 | bool gui_synclist_do_button(struct gui_synclist * lists, | 583 | bool gui_synclist_do_button(struct gui_synclist * lists, |
589 | int *actionptr, enum list_wrap wrap) | 584 | int *actionptr, enum list_wrap wrap) |
590 | { | 585 | { |
diff --git a/apps/gui/list.h b/apps/gui/list.h index 6b9f557d38..50aaebe93a 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h | |||
@@ -182,6 +182,11 @@ extern bool gui_synclist_do_button(struct gui_synclist * lists, | |||
182 | int *action, | 182 | int *action, |
183 | enum list_wrap); | 183 | enum list_wrap); |
184 | 184 | ||
185 | #if defined(HAVE_TOUCHSCREEN) | ||
186 | /* this needs to be fixed if we ever get more than 1 touchscreen on a target */ | ||
187 | unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list); | ||
188 | #endif | ||
189 | |||
185 | /* If the list has a pending postponed scheduled announcement, that | 190 | /* If the list has a pending postponed scheduled announcement, that |
186 | may become due before the next get_action tmieout. This function | 191 | may become due before the next get_action tmieout. This function |
187 | adjusts the get_action timeout appropriately. */ | 192 | adjusts the get_action timeout appropriately. */ |
diff --git a/apps/gui/wps.c b/apps/gui/wps.c index a5142a0726..29c9403235 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c | |||
@@ -197,7 +197,7 @@ bool is_wps_fading(void) | |||
197 | return wps_fading_out; | 197 | return wps_fading_out; |
198 | } | 198 | } |
199 | 199 | ||
200 | bool update_onvol_change(struct gui_wps * gwps) | 200 | static bool update_onvol_change(struct gui_wps * gwps) |
201 | { | 201 | { |
202 | skin_update(gwps, WPS_REFRESH_NON_STATIC); | 202 | skin_update(gwps, WPS_REFRESH_NON_STATIC); |
203 | 203 | ||