summaryrefslogtreecommitdiff
path: root/apps/plugins/random_folder_advance_config.c
diff options
context:
space:
mode:
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,