aboutsummaryrefslogtreecommitdiffstats
path: root/src/main_notify.c
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-11-24 14:32:02 +0100
committerThomas Jansen <mithi@mithi.net>2008-11-24 14:32:02 +0100
commitc6a63f1397a68389c2bd4812acbff7c1815df935 (patch)
tree288ba0342fcaebd338c231ffdb88c6d05e937c1e /src/main_notify.c
parent14e121af90bff0c3ccb1cd818009a0eaf0d3e87c (diff)
downloadmpd-c6a63f1397a68389c2bd4812acbff7c1815df935.tar.gz
mpd-c6a63f1397a68389c2bd4812acbff7c1815df935.tar.xz
mpd-c6a63f1397a68389c2bd4812acbff7c1815df935.zip
main_notify.c: replaced mpd_unused by G_GNUC_UNUSED
Diffstat (limited to 'src/main_notify.c')
-rw-r--r--src/main_notify.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main_notify.c b/src/main_notify.c
index e86c911dc..469758871 100644
--- a/src/main_notify.c
+++ b/src/main_notify.c
@@ -22,10 +22,10 @@
#include "notify.h"
#include "utils.h"
#include "ioops.h"
-#include "gcc.h"
#include "log.h"
#include <assert.h>
+#include <glib.h>
#include <string.h>
static struct ioOps main_notify_IO;
@@ -35,7 +35,8 @@ static struct notify main_notify;
static pthread_mutex_t select_mutex = PTHREAD_MUTEX_INITIALIZER;
static int ioops_fdset(fd_set * rfds,
- mpd_unused fd_set * wfds, mpd_unused fd_set * efds)
+ G_GNUC_UNUSED fd_set * wfds,
+ G_GNUC_UNUSED fd_set * efds)
{
FD_SET(main_pipe[0], rfds);
return main_pipe[0];
@@ -51,7 +52,8 @@ static void consume_pipe(void)
}
static int ioops_consume(int fd_count, fd_set * rfds,
- mpd_unused fd_set * wfds, mpd_unused fd_set * efds)
+ G_GNUC_UNUSED fd_set * wfds,
+ G_GNUC_UNUSED fd_set * efds)
{
if (FD_ISSET(main_pipe[0], rfds)) {
consume_pipe();