From 991f769c7dbe32128c5e8993b3c76e4e73bdc07b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 23 Nov 2008 18:51:32 +0100 Subject: [PATCH] lirc: use GLib's G_GNUC_UNUSED instead of mpd_unused The header gcc.h is going to fade away, in favor of GLib's G_GNUC_ macros. --- src/lirc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lirc.c b/src/lirc.c index aeb8665..0982bd3 100644 --- a/src/lirc.c +++ b/src/lirc.c @@ -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; -- 2.30.2