From: Max Kellermann Date: Sun, 23 Nov 2008 17:51:32 +0000 (+0100) Subject: lirc: use GLib's G_GNUC_UNUSED instead of mpd_unused X-Git-Tag: v0.12_beta1~24 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=991f769c7dbe32128c5e8993b3c76e4e73bdc07b;p=ncmpc.git 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. --- 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;