Code

screen_lyrics.c: replaced mpd_unused by G_GNUC_UNUSED
authorThomas Jansen <mithi@mithi.net>
Mon, 24 Nov 2008 02:48:09 +0000 (03:48 +0100)
committerMax Kellermann <max@duempel.org>
Mon, 24 Nov 2008 06:47:39 +0000 (07:47 +0100)
src/screen_lyrics.c

index 0d525f5cc53e485e9db58455ca2f8317086397d8..8c2eedc7dd69e64de949a96a50f9d1f0d17cdcab 100644 (file)
@@ -27,7 +27,6 @@
 #include "strfsong.h"
 #include "lyrics.h"
 #include "charset.h"
-#include "gcc.h"
 
 #define _GNU_SOURCE
 #include <stdlib.h>
@@ -155,7 +154,7 @@ screen_lyrics_set(const GString *str)
 }
 
 static void
-screen_lyrics_callback(const GString *result, mpd_unused void *data)
+screen_lyrics_callback(const GString *result, G_GNUC_UNUSED void *data)
 {
        assert(current.loader != NULL);
 
@@ -222,7 +221,8 @@ static int store_lyr_hd(void)
 }
 
 static const char *
-list_callback(unsigned idx, mpd_unused int *highlight, mpd_unused void *data)
+list_callback(unsigned idx, G_GNUC_UNUSED int *highlight,
+             G_GNUC_UNUSED void *data)
 {
        static char buffer[256];
        char *value;