diff --git a/menu/menu_entries_cbs_select.c b/menu/menu_entries_cbs_select.c index 7872b6efbd..0b1fcf8bd4 100644 --- a/menu/menu_entries_cbs_select.c +++ b/menu/menu_entries_cbs_select.c @@ -16,8 +16,7 @@ #include "menu.h" #include "menu_entries_cbs.h" -static int action_select_default(unsigned type, const char *label, - unsigned action) +static int action_select_default(unsigned type, const char *label) { menu_displaylist_info_t info = {0}; menu_handle_t *menu = menu_driver_get_ptr(); diff --git a/menu/menu_entry.c b/menu/menu_entry.c index bdcc3a1065..b8280b3652 100644 --- a/menu/menu_entry.c +++ b/menu/menu_entry.c @@ -490,7 +490,7 @@ int menu_entry_action(menu_entry_t *entry, unsigned i, enum menu_action action) break; case MENU_ACTION_SELECT: if (cbs && cbs->action_select) - return cbs->action_select(entry->type, entry->label, action); + return cbs->action_select(entry->type, entry->label); break; case MENU_ACTION_REFRESH: diff --git a/menu/menu_list.h b/menu/menu_list.h index dd0047ccd1..52a7b092a1 100644 --- a/menu/menu_list.h +++ b/menu/menu_list.h @@ -41,7 +41,7 @@ typedef struct menu_file_list_cbs int (*action_cancel)(const char *path, const char *label, unsigned type, size_t idx); int (*action_start)(unsigned type, const char *label); - int (*action_select)(unsigned type, const char *label, unsigned action); + int (*action_select)(unsigned type, const char *label); int (*action_content_list_switch)(void *data, void *userdata, const char *path, const char *label, unsigned type); int (*action_toggle)(unsigned type, const char *label, unsigned action,