Make sure audacious-code compiles
authorNikolas Garofil <nikolas@garofil.be>
Sun, 9 May 2010 20:52:27 +0000 (22:52 +0200)
committerNikolas Garofil <nikolas@garofil.be>
Sun, 9 May 2010 20:52:27 +0000 (22:52 +0200)
src/audacious.c
src/audacious.h

index 2d02453..49342e8 100644 (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;
 }
 
 /* ---------------------------------------------------------
index 0e64cde..3db8e51 100644 (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 *);