summaryrefslogtreecommitdiff
path: root/apps/filetypes.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-12-10 14:36:39 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2022-12-13 22:35:24 -0500
commitc6c1d62489b81c3568aa7d57a01c543a1c3f1f4a (patch)
treefe4234e7085c1a5130246a4d35a80e74003abf5e /apps/filetypes.h
parent8ff2c81bde5078ea55e1865ec980fe09bc3d5f09 (diff)
downloadrockbox-c6c1d62489b81c3568aa7d57a01c543a1c3f1f4a.tar.gz
rockbox-c6c1d62489b81c3568aa7d57a01c543a1c3f1f4a.zip
[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
Diffstat (limited to 'apps/filetypes.h')
-rw-r--r--apps/filetypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/filetypes.h b/apps/filetypes.h
index 9013f81b02..5aae772a9c 100644
--- a/apps/filetypes.h
+++ b/apps/filetypes.h
@@ -55,12 +55,12 @@ struct filetype {
55 int tree_attr; 55 int tree_attr;
56}; 56};
57 57
58void tree_get_filetypes(const struct filetype**, int*) INIT_ATTR; 58long tree_get_filetype_voiceclip(int attr);
59long tree_get_filetype_voiceclip(int attr) INIT_ATTR;
60 59
61/* init the filetypes structs. 60/* init the filetypes structs.
62 uses audio buffer for storage, so call early in init... */ 61 uses audio buffer for storage, so call early in init... */
63void filetype_init(void) INIT_ATTR; 62void filetype_init(void) INIT_ATTR;
63
64void read_viewer_theme_file(void); 64void read_viewer_theme_file(void);
65#ifdef HAVE_LCD_COLOR 65#ifdef HAVE_LCD_COLOR
66void read_color_theme_file(void); 66void read_color_theme_file(void);