forked from len0rd/rockbox
[Bug Fix] filetypes.c move voice data out of INIT_ATTR
tree_get_filetype_voiceclip is called after init it shouldn't be marked as INIT_ATTR add _init to the functions & data that are used at init only to be a bit more clear Change-Id: I8eb1914560b782c2c0fdd7649e761f94e382d5cb
This commit is contained in:
parent
8ff2c81bde
commit
c6c1d62489
3 changed files with 13 additions and 21 deletions
|
|
@ -77,9 +77,6 @@
|
|||
|
||||
#include "root_menu.h"
|
||||
|
||||
static const struct filetype *filetypes;
|
||||
static int filetypes_count;
|
||||
|
||||
static struct gui_synclist tree_lists;
|
||||
|
||||
/* I put it here because other files doesn't use it yet,
|
||||
|
|
@ -1090,7 +1087,6 @@ void tree_mem_init(void)
|
|||
cache->entries_handle = core_alloc_ex("tree entries",
|
||||
cache->max_entries*(sizeof(struct entry)),
|
||||
&ops);
|
||||
tree_get_filetypes(&filetypes, &filetypes_count);
|
||||
}
|
||||
|
||||
bool bookmark_play(char *resume_file, int index, unsigned long elapsed,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue