aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-11-24 03:48:09 +0100
committerMax Kellermann <max@duempel.org>2008-11-24 07:47:39 +0100
commit262bf9b7c23d18a3002f072eeaa1ed91722d0094 (patch)
tree2521403e958f17a10f38b415b1535545121dec51
parent38ff9027801abc7759798854cc6be7d0f99c2769 (diff)
downloadmpd-262bf9b7c23d18a3002f072eeaa1ed91722d0094.tar.gz
mpd-262bf9b7c23d18a3002f072eeaa1ed91722d0094.tar.xz
mpd-262bf9b7c23d18a3002f072eeaa1ed91722d0094.zip
screen_lyrics.c: replaced mpd_unused by G_GNUC_UNUSED
Diffstat (limited to '')
-rw-r--r--src/screen_lyrics.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 0d525f5cc..8c2eedc7d 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 <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;