summaryrefslogtreecommitdiffstats
path: root/apps/plugins/shopper.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-09-17 17:20:27 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-09-17 17:20:27 +0000
commitd91e67acc97263504a7338856b055d565e14c99a (patch)
tree47f4e8f80c99b7c049afeeb4ee926ce1b2ff24f8 /apps/plugins/shopper.c
parente03faf835dd7b879f589e3dc080991bab86dfae7 (diff)
downloadrockbox-d91e67acc97263504a7338856b055d565e14c99a.tar.gz
rockbox-d91e67acc97263504a7338856b055d565e14c99a.tar.bz2
rockbox-d91e67acc97263504a7338856b055d565e14c99a.zip
plugins: make local functions static for a subset of plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30564 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/shopper.c')
-rw-r--r--apps/plugins/shopper.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/shopper.c b/apps/plugins/shopper.c
index 61cf2953af..15b44ca21a 100644
--- a/apps/plugins/shopper.c
+++ b/apps/plugins/shopper.c
@@ -75,7 +75,7 @@ static enum themable_icons list_get_icon_cb(int selected_item, void *data)
return Icon_NOICON;
}
-bool save_changes(void)
+static bool save_changes(void)
{
int fd;
int i;
@@ -123,7 +123,7 @@ bool save_changes(void)
return true;
}
-void create_view(struct gui_synclist *lists)
+static void create_view(struct gui_synclist *lists)
{
unsigned int cnt = 0;
int i, j;
@@ -168,7 +168,7 @@ void create_view(struct gui_synclist *lists)
}
}
-bool toggle(int selected_item)
+static bool toggle(int selected_item)
{
if (items_list[view_id_list[selected_item]].flag == FL_CATEGORY)
return false;
@@ -179,7 +179,7 @@ bool toggle(int selected_item)
return true;
}
-void update_category_string(void)
+static void update_category_string(void)
{
if (show_categories)
rb->strcpy(category_string,"Hide categories");
@@ -187,7 +187,7 @@ void update_category_string(void)
rb->strcpy(category_string,"Show categories");
}
-enum plugin_status load_file(void)
+static enum plugin_status load_file(void)
{
int fd;
static char temp_line[DESC_SIZE];