summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-12-20 20:35:28 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-12-20 20:35:28 +0000
commitcb972abc488fa4c06d16ba9ebeb030a0b8d45ed2 (patch)
treeae2abf8ed076d240cbb07bd8164d5ab7cca7bebf /apps
parent0cb0b502367380b73506a251f1d4841d340c3325 (diff)
downloadrockbox-cb972abc488fa4c06d16ba9ebeb030a0b8d45ed2.tar.gz
rockbox-cb972abc488fa4c06d16ba9ebeb030a0b8d45ed2.tar.bz2
rockbox-cb972abc488fa4c06d16ba9ebeb030a0b8d45ed2.zip
Another round of making local functions static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31384 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_engine.c2
-rw-r--r--apps/root_menu.c2
-rw-r--r--apps/screen_access.c4
-rw-r--r--apps/shortcuts.c6
4 files changed, 6 insertions, 8 deletions
diff --git a/apps/gui/skin_engine/skin_engine.c b/apps/gui/skin_engine/skin_engine.c
index 74abd92fdf..1d73b3266b 100644
--- a/apps/gui/skin_engine/skin_engine.c
+++ b/apps/gui/skin_engine/skin_engine.c
@@ -73,7 +73,7 @@ static struct gui_skin {
} skins[SKINNABLE_SCREENS_COUNT][NB_SCREENS];
-void gui_skin_reset(struct gui_skin *skin)
+static void gui_skin_reset(struct gui_skin *skin)
{
skin->filename[0] = '\0';
skin->buffer_start = NULL;
diff --git a/apps/root_menu.c b/apps/root_menu.c
index e78c02759b..aaddfa885a 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -378,8 +378,6 @@ static int load_bmarks(void* param)
return GO_TO_PREVIOUS;
}
-int time_screen(void* ignored);
-
/* These are all static const'd from apps/menus/ *.c
so little hack so we can use them */
extern struct menu_item_ex
diff --git a/apps/screen_access.c b/apps/screen_access.c
index b7dc90b5bd..e47a815b82 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -77,7 +77,7 @@ void screen_helper_setfont(int font)
#endif
}
-int screen_helper_getuifont(void)
+static int screen_helper_getuifont(void)
{
#ifdef HAVE_LCD_BITMAP
return global_status.font_id[SCREEN_MAIN];
@@ -86,7 +86,7 @@ int screen_helper_getuifont(void)
#endif
}
-void screen_helper_setuifont(int font)
+static void screen_helper_setuifont(int font)
{
#ifdef HAVE_LCD_BITMAP
global_status.font_id[SCREEN_MAIN] = font;
diff --git a/apps/shortcuts.c b/apps/shortcuts.c
index 75e005b166..33c22f2262 100644
--- a/apps/shortcuts.c
+++ b/apps/shortcuts.c
@@ -168,7 +168,7 @@ static void init_shortcut(struct shortcut* sc)
}
static int first_idx_to_writeback = -1;
-void shortcuts_ata_idle_callback(void* data)
+static void shortcuts_ata_idle_callback(void* data)
{
(void)data;
int fd;
@@ -223,7 +223,7 @@ void shortcuts_add(enum shortcut_type type, const char* value)
register_storage_idle_func(shortcuts_ata_idle_callback);
}
-int readline_cb(int n, char *buf, void *parameters)
+static int readline_cb(int n, char *buf, void *parameters)
{
(void)n;
(void)parameters;
@@ -388,7 +388,7 @@ static enum themable_icons shortcut_menu_get_icon(int selected_item, void * data
return sc->icon;
}
-int shortcut_menu_speak_item(int selected_item, void * data)
+static int shortcut_menu_speak_item(int selected_item, void * data)
{
(void)data;
struct shortcut *sc = get_shortcut(selected_item);