main_notify.c: replaced mpd_unused by G_GNUC_UNUSED

This commit is contained in:
Thomas Jansen 2008-11-24 14:32:02 +01:00
parent 14e121af90
commit c6a63f1397

View File

@ -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();