Code

screen_file.c: replaced mpd_unused by G_GNUC_UNUSED
authorThomas Jansen <mithi@mithi.net>
Mon, 24 Nov 2008 02:47:05 +0000 (03:47 +0100)
committerMax Kellermann <max@duempel.org>
Mon, 24 Nov 2008 06:47:38 +0000 (07:47 +0100)
src/screen_file.c

index d7742879131a150bfeacdd0bc589e8b0411c0993..b073b8710f439ab1499cb6e3d0faec21dc301e01 100644 (file)
@@ -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, "");