summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-08-06 09:28:25 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-08-06 09:28:25 +0000
commitd767883a417667ceebf5bb241d02337f34bc8016 (patch)
tree7136c4a1fd24d01176d3790e4b5d49f39cd6267b /apps
parent0307cd16a094b9b03da8fbcf237470ce2ad75cf7 (diff)
downloadrockbox-d767883a417667ceebf5bb241d02337f34bc8016.zip
rockbox-d767883a417667ceebf5bb241d02337f34bc8016.tar.gz
rockbox-d767883a417667ceebf5bb241d02337f34bc8016.tar.bz2
rockbox-d767883a417667ceebf5bb241d02337f34bc8016.tar.xz
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')
-rw-r--r--apps/codecs/librm/rm.c2
-rw-r--r--apps/gui/list.c5
-rw-r--r--apps/gui/list.h5
-rw-r--r--apps/gui/wps.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/apps/codecs/librm/rm.c b/apps/codecs/librm/rm.c
index b205e7f..00ee37a 100644
--- a/apps/codecs/librm/rm.c
+++ b/apps/codecs/librm/rm.c
@@ -29,7 +29,7 @@
#define SWAP(a, b) do{uint8_t SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0)
-void advance_buffer(uint8_t **buf, int val)
+static void advance_buffer(uint8_t **buf, int val)
{
*buf += val;
}
diff --git a/apps/gui/list.c b/apps/gui/list.c
index eb9c025..8a65d3f 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -580,11 +580,6 @@ void gui_synclist_speak_item(struct gui_synclist * lists)
else _gui_synclist_speak_item(lists, false);
}
-#if defined(HAVE_TOUCHSCREEN)
-/* this needs to be fixed if we ever get more than 1 touchscreen on a target */
-unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list);
-#endif
-
bool gui_synclist_do_button(struct gui_synclist * lists,
int *actionptr, enum list_wrap wrap)
{
diff --git a/apps/gui/list.h b/apps/gui/list.h
index 6b9f557..50aaebe 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,
int *action,
enum list_wrap);
+#if defined(HAVE_TOUCHSCREEN)
+/* this needs to be fixed if we ever get more than 1 touchscreen on a target */
+unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list);
+#endif
+
/* If the list has a pending postponed scheduled announcement, that
may become due before the next get_action tmieout. This function
adjusts the get_action timeout appropriately. */
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index a5142a0..29c9403 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -197,7 +197,7 @@ bool is_wps_fading(void)
return wps_fading_out;
}
-bool update_onvol_change(struct gui_wps * gwps)
+static bool update_onvol_change(struct gui_wps * gwps)
{
skin_update(gwps, WPS_REFRESH_NON_STATIC);