Make function static

This commit is contained in:
twinaphex 2016-07-01 15:46:55 +02:00
parent 6f241e80a0
commit 14329b0656
3 changed files with 8 additions and 10 deletions

View File

@ -22,6 +22,14 @@
cbs->action_content_list_switch_ident = #name;
#endif
static int deferred_push_content_list(void *data, void *userdata,
const char *path,
const char *label, unsigned type)
{
file_list_t *selection_buf = menu_entries_get_selection_buf_ptr(0);
return action_refresh_default((file_list_t*)data, selection_buf);
}
int menu_cbs_init_bind_content_list_switch(menu_file_list_cbs_t *cbs,
const char *path, const char *label, unsigned type, size_t idx,
const char *elem0, const char *elem1,

View File

@ -508,13 +508,6 @@ static int deferred_push_history_list(menu_displaylist_info_t *info)
return deferred_push_dlist(info, DISPLAYLIST_HISTORY);
}
int deferred_push_content_list(void *data, void *userdata, const char *path,
const char *label, unsigned type)
{
file_list_t *selection_buf = menu_entries_get_selection_buf_ptr(0);
return action_refresh_default((file_list_t*)data, selection_buf);
}
static int deferred_push_database_manager_list(menu_displaylist_info_t *info)
{
return deferred_push_dlist(info, DISPLAYLIST_DATABASES);

View File

@ -190,9 +190,6 @@ int menu_cbs_init_bind_title(menu_file_list_cbs_t *cbs,
const char *elem0, const char *elem1,
uint32_t label_hash, uint32_t menu_label_hash);
int deferred_push_content_list(void *data, void *userdata,
const char *path, const char *label, unsigned type);
#ifdef HAVE_LIBRETRODB
int action_scan_directory(const char *path,
const char *label, unsigned type, size_t idx);