From fdc29d0ea4fbdd2cc1509a53122be7ec85cdb432 Mon Sep 17 00:00:00 2001 From: Boris Gjenero Date: Mon, 19 Dec 2011 20:12:52 +0000 Subject: 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 --- apps/codec_thread.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/codec_thread.h') 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 +#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), -- cgit v1.2.3