summaryrefslogtreecommitdiffstats
path: root/apps/codec_thread.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/codec_thread.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/codec_thread.h')
-rw-r--r--apps/codec_thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codec_thread.h b/apps/codec_thread.h
index 65f64c377e..c33284e141 100644
--- a/apps/codec_thread.h
+++ b/apps/codec_thread.h
@@ -23,12 +23,13 @@
#define _CODEC_THREAD_H
#include <stdbool.h>
+#include "config.h"
/* codec identity */
const char *get_codec_filename(int cod_spec);
/* codec thread */
-void codec_thread_init(void);
+void codec_thread_init(void) INIT_ATTR;
/* Audio MUST be stopped before requesting callback! */
void codec_thread_do_callback(void (*fn)(void),