summaryrefslogtreecommitdiffstats
path: root/apps/shortcuts.c
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/shortcuts.c
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/shortcuts.c')
-rw-r--r--apps/shortcuts.c6
1 files changed, 3 insertions, 3 deletions
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);