diff options
author | Thomas Jansen <mithi@mithi.net> | 2008-11-24 03:47:05 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-24 07:47:38 +0100 |
commit | ec414692c0a075fef3d1f61fc1be484a30149c3d (patch) | |
tree | f3dd8a96f78c82d22089abf0781bcb35c30541df /src/screen_file.c | |
parent | 4442539465495751d694012784eaafc5fbf24749 (diff) | |
download | mpd-ec414692c0a075fef3d1f61fc1be484a30149c3d.tar.gz mpd-ec414692c0a075fef3d1f61fc1be484a30149c3d.tar.xz mpd-ec414692c0a075fef3d1f61fc1be484a30149c3d.zip |
screen_file.c: replaced mpd_unused by G_GNUC_UNUSED
Diffstat (limited to 'src/screen_file.c')
-rw-r--r-- | src/screen_file.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/screen_file.c b/src/screen_file.c index d77428791..b073b8710 100644 --- a/src/screen_file.c +++ b/src/screen_file.c @@ -26,7 +26,6 @@ #include "screen_utils.h" #include "screen_browser.h" #include "screen_play.h" -#include "gcc.h" #include <ctype.h> #include <stdlib.h> @@ -54,8 +53,8 @@ file_repaint_if_active(void) /* the db have changed -> update the filelist */ static void -file_changed_callback(mpdclient_t *c, mpd_unused int event, - mpd_unused gpointer data) +file_changed_callback(mpdclient_t *c, G_GNUC_UNUSED int event, + G_GNUC_UNUSED gpointer data) { browser.filelist = mpdclient_filelist_update(c, browser.filelist); #ifndef NCMPC_MINI @@ -167,7 +166,7 @@ browse_exit(void) } static void -browse_open(mpd_unused mpdclient_t *c) +browse_open(G_GNUC_UNUSED mpdclient_t *c) { if (browser.filelist == NULL) { browser.filelist = mpdclient_filelist_get(c, ""); |