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:
parent
acbb531adf
commit
8121073912
@ -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;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------
|
||||
|
@ -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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user