From: Thomas Jansen Date: Mon, 24 Nov 2008 02:45:45 +0000 (+0100) Subject: screen_artist.c: replaced mpd_unused by G_GNUC_UNUSED X-Git-Tag: v0.12_beta1~21 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=144913785cf9c12f38dab253daec1375a7108205;p=ncmpc.git screen_artist.c: replaced mpd_unused by G_GNUC_UNUSED --- diff --git a/src/screen_artist.c b/src/screen_artist.c index 01fbc9c..b3429fc 100644 --- a/src/screen_artist.c +++ b/src/screen_artist.c @@ -26,7 +26,6 @@ #include "screen.h" #include "screen_utils.h" #include "screen_browser.h" -#include "gcc.h" #include #include @@ -60,7 +59,8 @@ compare_utf8(gconstpointer s1, gconstpointer s2) /* list_window callback */ static const char * -artist_lw_callback(unsigned idx, mpd_unused int *highlight, mpd_unused void *data) +artist_lw_callback(unsigned idx, G_GNUC_UNUSED int *highlight, + G_GNUC_UNUSED void *data) { GPtrArray *list = data; static char buf[BUFSIZE]; @@ -301,7 +301,7 @@ reload_lists(struct mpdclient *c) /* db updated */ static void -browse_callback(mpdclient_t *c, int event, mpd_unused gpointer data) +browse_callback(mpdclient_t *c, int event, G_GNUC_UNUSED gpointer data) { switch(event) { case BROWSE_DB_UPDATED: