mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
7d61376ef8
commit
fdc29d0ea4
27 changed files with 39 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue