Revert "Add file_list_get_previous_stack"

This reverts commit 5acde7a8a6.
This commit is contained in:
twinaphex 2014-10-17 19:32:40 +02:00
parent d774eb6bde
commit 9bb24bfdf9
2 changed files with 0 additions and 16 deletions

View File

@ -220,18 +220,6 @@ void file_list_get_at_offset(const file_list_t *list, size_t index,
*file_type = list->list[index].type;
}
bool file_list_get_previous_stack(const file_list_t *list,
const char **path, const char **label,
unsigned *file_type)
{
if (list->size > 1)
{
file_list_get_at_offset(list, list->size - 2, path, label, file_type);
return true;
}
return false;
}
void file_list_get_last(const file_list_t *list,
const char **path, const char **label,
unsigned *file_type)

View File

@ -56,10 +56,6 @@ void file_list_push(file_list_t *userdata, const char *path,
void file_list_pop(file_list_t *list, size_t *directory_ptr);
void file_list_clear(file_list_t *list);
bool file_list_get_previous_stack(const file_list_t *list,
const char **path, const char **label,
unsigned *file_type);
void file_list_get_last(const file_list_t *list,
const char **path, const char **label,
unsigned *type);