diff options
author | Thomas Jansen <mithi@mithi.net> | 2008-11-24 03:49:06 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-24 07:47:39 +0100 |
commit | df142311af75997c4d5140be2e17253092eb962f (patch) | |
tree | 48943d09338542bba7d40f92054bfe69cf5560a8 /src/screen_search.c | |
parent | 2c6c8aac350405ca61b0de9eae33eca240396072 (diff) | |
download | mpd-df142311af75997c4d5140be2e17253092eb962f.tar.gz mpd-df142311af75997c4d5140be2e17253092eb962f.tar.xz mpd-df142311af75997c4d5140be2e17253092eb962f.zip |
screen_search.c: replaced mpd_unused by G_GNUC_UNUSED
Diffstat (limited to '')
-rw-r--r-- | src/screen_search.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/screen_search.c b/src/screen_search.c index b8e7f43d7..83054123d 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 <ctype.h> #include <stdlib.h> @@ -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); |