summaryrefslogtreecommitdiff
path: root/apps/filetypes.h
diff options
context:
space:
mode:
authorBoris Gjenero <dreamlayers@rockbox.org>2011-12-19 20:12:52 +0000
committerBoris Gjenero <dreamlayers@rockbox.org>2011-12-19 20:12:52 +0000
commitfdc29d0ea4fbdd2cc1509a53122be7ec85cdb432 (patch)
tree3855b7ea3a288059458b847b4bdfabd5c48ccce4 /apps/filetypes.h
parent7d61376ef80bc6ac7a817201729ee1e612625ef6 (diff)
downloadrockbox-fdc29d0ea4fbdd2cc1509a53122be7ec85cdb432.tar.gz
rockbox-fdc29d0ea4fbdd2cc1509a53122be7ec85cdb432.zip
Add more INIT_ATTR and add config.h includes to header files with INIT_ATTR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31370 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/filetypes.h')
-rw-r--r--apps/filetypes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/filetypes.h b/apps/filetypes.h
index dd8993e262..8c9e9a5d93 100644
--- a/apps/filetypes.h
+++ b/apps/filetypes.h
@@ -22,6 +22,7 @@
22#define _FILEHANDLE_H_ 22#define _FILEHANDLE_H_
23 23
24#include <stdbool.h> 24#include <stdbool.h>
25#include "config.h"
25#include <tree.h> 26#include <tree.h>
26 27
27/* using attribute bits not used by FAT (FAT uses lower 7) */ 28/* using attribute bits not used by FAT (FAT uses lower 7) */
@@ -54,7 +55,7 @@ struct filetype {
54 enum themable_icons icon; 55 enum themable_icons icon;
55 int voiceclip; 56 int voiceclip;
56}; 57};
57void tree_get_filetypes(const struct filetype**, int*); 58void tree_get_filetypes(const struct filetype**, int*) INIT_ATTR;
58 59
59/* init the filetypes structs. 60/* init the filetypes structs.
60 uses audio buffer for storage, so call early in init... */ 61 uses audio buffer for storage, so call early in init... */