aboutsummaryrefslogtreecommitdiffstats
path: root/src/lirc.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-23 18:51:32 +0100
committerMax Kellermann <max@duempel.org>2008-11-23 18:51:32 +0100
commit991f769c7dbe32128c5e8993b3c76e4e73bdc07b (patch)
tree33a795a176b82037dfdc46f4bea4dd7ef5711fbe /src/lirc.c
parentcfad0fdfca5821eb2d17f93bc08d4e5efc23beae (diff)
downloadmpd-991f769c7dbe32128c5e8993b3c76e4e73bdc07b.tar.gz
mpd-991f769c7dbe32128c5e8993b3c76e4e73bdc07b.tar.xz
mpd-991f769c7dbe32128c5e8993b3c76e4e73bdc07b.zip
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.
Diffstat (limited to 'src/lirc.c')
-rw-r--r--src/lirc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lirc.c b/src/lirc.c
index aeb86650c..0982bd38d 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;