From: Thomas Jansen Date: Mon, 24 Nov 2008 02:49:06 +0000 (+0100) Subject: screen_search.c: replaced mpd_unused by G_GNUC_UNUSED X-Git-Tag: v0.12_beta1~14 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=df142311af75997c4d5140be2e17253092eb962f;p=ncmpc.git screen_search.c: replaced mpd_unused by G_GNUC_UNUSED --- diff --git a/src/screen_search.c b/src/screen_search.c index b8e7f43..8305412 100644 --- a/src/screen_search.c +++ b/src/screen_search.c @@ -26,7 +26,6 @@ #include "utils.h" #include "screen_utils.h" #include "screen_browser.h" -#include "gcc.h" #include #include @@ -94,8 +93,8 @@ static struct screen_browser browser; /* search info */ static const char * -lw_search_help_callback(unsigned idx, mpd_unused int *highlight, - mpd_unused void *data) +lw_search_help_callback(unsigned idx, G_GNUC_UNUSED int *highlight, + G_GNUC_UNUSED void *data) { unsigned text_rows; static const char *text[] = { @@ -175,7 +174,7 @@ search_clear(mpdclient_t *c, } static mpdclient_filelist_t * -filelist_search(mpdclient_t *c, mpd_unused int exact_match, int table, +filelist_search(mpdclient_t *c, G_GNUC_UNUSED int exact_match, int table, gchar *local_pattern) { mpdclient_filelist_t *list, *list2; @@ -362,7 +361,7 @@ quit(void) } static void -open(mpd_unused mpdclient_t *c) +open(G_GNUC_UNUSED mpdclient_t *c) { // if( pattern==NULL ) // search_new(screen, c);