1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-15 09:44:04 +00:00

Make sure audacious-code compiles

This commit is contained in:
Nikolas Garofil 2010-05-09 22:52:27 +02:00
parent acbb531adf
commit 8121073912
2 changed files with 3 additions and 2 deletions

View File

@ -62,7 +62,7 @@ static audacious_t audacious_items;
/* -----------------------------------------
* Conky update function for audacious data.
* ----------------------------------------- */
void update_audacious(void)
int update_audacious(void)
{
/* The worker thread is updating audacious_items array asynchronously
* to the main conky thread.
@ -79,6 +79,7 @@ void update_audacious(void)
timed_thread_lock(info.audacious.p_timed_thread);
memcpy(&info.audacious.items, audacious_items, sizeof(audacious_items));
timed_thread_unlock(info.audacious.p_timed_thread);
return 0;
}
/* ---------------------------------------------------------

View File

@ -60,7 +60,7 @@ int create_audacious_thread(void);
int destroy_audacious_thread(void);
/* Service routine for the conky main thread */
void update_audacious(void);
int update_audacious(void);
/* Thread functions */
void *audacious_thread_func(void *);