summaryrefslogtreecommitdiff
path: root/apps/plugins/random_folder_advance_config.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/random_folder_advance_config.c
parente03faf835dd7b879f589e3dc080991bab86dfae7 (diff)
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/random_folder_advance_config.c')
-rw-r--r--apps/plugins/random_folder_advance_config.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/apps/plugins/random_folder_advance_config.c b/apps/plugins/random_folder_advance_config.c
index e15cade643..18899644cc 100644
--- a/apps/plugins/random_folder_advance_config.c
+++ b/apps/plugins/random_folder_advance_config.c
@@ -43,7 +43,7 @@ struct file_format {
};
struct file_format *list = NULL;
-void update_screen(bool clear)
+static void update_screen(bool clear)
{
char buf[15];
int i;
@@ -58,7 +58,7 @@ void update_screen(bool clear)
}
}
-void traversedir(char* location, char* name)
+static void traversedir(char* location, char* name)
{
struct dirent *entry;
DIR* dir;
@@ -126,7 +126,7 @@ void traversedir(char* location, char* name)
}
}
-bool custom_dir(void)
+static bool custom_dir(void)
{
DIR* dir_check;
char *starts, line[MAX_PATH], formatted_line[MAX_PATH];
@@ -212,7 +212,7 @@ bool custom_dir(void)
return true;
}
-void generate(void)
+static void generate(void)
{
dirs_count = 0;
cancel = false;
@@ -245,7 +245,7 @@ static const char* list_get_name_cb(int selected_item, void* data,
return buf;
}
-int load_list(void)
+static int load_list(void)
{
int myfd = rb->open(RFA_FILE,O_RDONLY);
if (myfd < 0)
@@ -263,7 +263,7 @@ int load_list(void)
return 0;
}
-int save_list(void)
+static int save_list(void)
{
int myfd = rb->creat(RFA_FILE, 0666);
if (myfd < 0)
@@ -288,7 +288,7 @@ int save_list(void)
return 1;
}
-int edit_list(void)
+static int edit_list(void)
{
struct gui_synclist lists;
bool exit = false;
@@ -373,7 +373,7 @@ int edit_list(void)
return ret;
}
-int export_list_to_file_text(void)
+static int export_list_to_file_text(void)
{
int i = 0;
/* load the dat file if not already done */
@@ -412,7 +412,7 @@ int export_list_to_file_text(void)
return 1;
}
-int import_list_from_file_text(void)
+static int import_list_from_file_text(void)
{
char line[MAX_PATH];
@@ -465,7 +465,7 @@ int import_list_from_file_text(void)
return list->count;
}
-int start_shuffled_play(void)
+static int start_shuffled_play(void)
{
int *order;
size_t max_shuffle_size;
@@ -539,7 +539,7 @@ int start_shuffled_play(void)
return 1;
}
-enum plugin_status main_menu(void)
+static enum plugin_status main_menu(void)
{
bool exit = false;
MENUITEM_STRINGLIST(menu, "Main Menu", NULL,