mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-12 05:40:36 +00:00
Remove some superfluous menu_common_list functions
This commit is contained in:
parent
12d5e6ef28
commit
df4be4e43b
@ -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)
|
||||
|
@ -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);
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user