Remove unused menu_ctx_find_driver

This commit is contained in:
twinaphex 2014-08-26 20:18:53 +02:00
parent 6a8ccc3844
commit a468d9e860
2 changed files with 0 additions and 13 deletions

View File

@ -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;

View File

@ -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);