From: Thomas Jansen Date: Mon, 24 Nov 2008 02:48:09 +0000 (+0100) Subject: screen_lyrics.c: replaced mpd_unused by G_GNUC_UNUSED X-Git-Tag: v0.12_beta1~16 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=262bf9b7c23d18a3002f072eeaa1ed91722d0094;p=ncmpc.git screen_lyrics.c: replaced mpd_unused by G_GNUC_UNUSED --- diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c index 0d525f5..8c2eedc 100644 --- a/src/screen_lyrics.c +++ b/src/screen_lyrics.c @@ -27,7 +27,6 @@ #include "strfsong.h" #include "lyrics.h" #include "charset.h" -#include "gcc.h" #define _GNU_SOURCE #include @@ -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;