Code

lirc: use GLib's G_GNUC_UNUSED instead of mpd_unused
authorMax Kellermann <max@duempel.org>
Sun, 23 Nov 2008 17:51:32 +0000 (18:51 +0100)
committerMax Kellermann <max@duempel.org>
Sun, 23 Nov 2008 17:51:32 +0000 (18:51 +0100)
The header gcc.h is going to fade away, in favor of GLib's G_GNUC_
macros.

src/lirc.c

index aeb86650ca411f89f957aabbb65e6d0289e80f63..0982bd38d96cd4012a09e0bd29d4e67bc122b74f 100644 (file)
@@ -28,8 +28,8 @@ void ncmpc_lirc_close()
 }
 
 gboolean
-lirc_event(mpd_unused GIOChannel *source,
-          mpd_unused GIOCondition condition, mpd_unused gpointer data)
+lirc_event(G_GNUC_UNUSED GIOChannel *source,
+          G_GNUC_UNUSED GIOCondition condition, G_GNUC_UNUSED gpointer data)
 {
        char *code, *txt;
        command_t cmd;