summaryrefslogtreecommitdiffstats
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.tar.bz2
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 @@
#define _FILEHANDLE_H_
#include <stdbool.h>
+#include "config.h"
#include <tree.h>
/* using attribute bits not used by FAT (FAT uses lower 7) */
@@ -54,7 +55,7 @@ struct filetype {
enum themable_icons icon;
int voiceclip;
};
-void tree_get_filetypes(const struct filetype**, int*);
+void tree_get_filetypes(const struct filetype**, int*) INIT_ATTR;
/* init the filetypes structs.
uses audio buffer for storage, so call early in init... */