diff options
author | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-19 20:12:52 +0000 |
---|---|---|
committer | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-19 20:12:52 +0000 |
commit | fdc29d0ea4fbdd2cc1509a53122be7ec85cdb432 (patch) | |
tree | 3855b7ea3a288059458b847b4bdfabd5c48ccce4 /apps/voice_thread.h | |
parent | 7d61376ef80bc6ac7a817201729ee1e612625ef6 (diff) |
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/voice_thread.h')
-rw-r--r-- | apps/voice_thread.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/voice_thread.h b/apps/voice_thread.h index 5f6547fb76..49b2f3f930 100644 --- a/apps/voice_thread.h +++ b/apps/voice_thread.h @@ -21,6 +21,8 @@ #ifndef VOICE_THREAD_H #define VOICE_THREAD_H +#include "config.h" + void mp3_play_data(const unsigned char* start, int size, void (*get_more)(unsigned char** start, size_t* size)); void mp3_play_stop(void); @@ -30,7 +32,7 @@ bool mp3_is_playing(void); void voice_wait(void); void voice_stop(void); -void voice_thread_init(void); +void voice_thread_init(void) INIT_ATTR; #ifdef HAVE_PRIORITY_SCHEDULING void voice_thread_set_priority(int priority); #endif |