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
This commit is contained in:
Boris Gjenero 2011-12-19 20:12:52 +00:00
parent 7d61376ef8
commit fdc29d0ea4
27 changed files with 39 additions and 10 deletions

View file

@ -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