Remove some superfluous menu_common_list functions

This commit is contained in:
twinaphex 2015-05-19 22:35:58 +02:00
parent 12d5e6ef28
commit df4be4e43b
3 changed files with 2 additions and 18 deletions

View File

@ -18,18 +18,6 @@
#include "menu.h"
#include "menu_entries_cbs.h"
void menu_common_list_clear(void *data)
{
file_list_t *list = (file_list_t*)data;
if (list)
file_list_clear(list);
}
void menu_common_list_set_selection(void *data)
{
}
void menu_common_list_insert(void *data,
const char *path, const char *label,
unsigned type, size_t idx)

View File

@ -23,10 +23,6 @@
extern "C" {
#endif
void menu_common_list_clear(void *data);
void menu_common_list_set_selection(void *data);
void menu_common_list_insert(void *data,
const char *path, const char *label,
unsigned type, size_t idx);

View File

@ -330,7 +330,6 @@ end:
return;
menu_driver_list_set_selection(list);
menu_common_list_set_selection(list);
}
void menu_list_clear(file_list_t *list)
@ -342,7 +341,8 @@ void menu_list_clear(file_list_t *list)
menu_driver_list_clear(list);
end:
menu_common_list_clear(list);
if (list)
file_list_clear(list);
}
void menu_list_push(file_list_t *list,