mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-01 22:42:22 +00:00
Remove unused menu_ctx_find_driver
This commit is contained in:
parent
6a8ccc3844
commit
a468d9e860
12
driver.c
12
driver.c
@ -553,18 +553,6 @@ static const menu_ctx_driver_t *menu_ctx_drivers[] = {
|
||||
NULL // zero length array is not valid
|
||||
};
|
||||
|
||||
const void *menu_ctx_find_driver(const char *ident)
|
||||
{
|
||||
unsigned i;
|
||||
for (i = 0; menu_ctx_drivers[i]; i++)
|
||||
{
|
||||
if (strcmp(menu_ctx_drivers[i]->ident, ident) == 0)
|
||||
return menu_ctx_drivers[i];
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static int find_menu_driver_index(const char *driver)
|
||||
{
|
||||
unsigned i;
|
||||
|
1
driver.h
1
driver.h
@ -522,7 +522,6 @@ bool driver_location_get_position(double *lat, double *lon, double *horiz_accura
|
||||
void driver_location_set_interval(unsigned interval_msecs, unsigned interval_distance);
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
const void *menu_ctx_find_driver(const char *ident); // Finds driver with ident. Does not initialize.
|
||||
void find_prev_menu_driver(void);
|
||||
void find_next_menu_driver(void);
|
||||
void find_menu_driver(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user