aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_play.c
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-11-24 03:48:38 +0100
committerMax Kellermann <max@duempel.org>2008-11-24 07:47:39 +0100
commit2c6c8aac350405ca61b0de9eae33eca240396072 (patch)
treea77827112ee3b54451a889b35a24749d67c2274b /src/screen_play.c
parent262bf9b7c23d18a3002f072eeaa1ed91722d0094 (diff)
downloadmpd-2c6c8aac350405ca61b0de9eae33eca240396072.tar.gz
mpd-2c6c8aac350405ca61b0de9eae33eca240396072.tar.xz
mpd-2c6c8aac350405ca61b0de9eae33eca240396072.zip
screen_play.c: replaced mpd_unused by G_GNUC_UNUSED
Diffstat (limited to 'src/screen_play.c')
-rw-r--r--src/screen_play.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/screen_play.c b/src/screen_play.c
index aff41bac4..6fd586af9 100644
--- a/src/screen_play.c
+++ b/src/screen_play.c
@@ -30,7 +30,6 @@
#include "screen.h"
#include "screen_utils.h"
#include "screen_play.h"
-#include "gcc.h"
#include <ctype.h>
#include <stdlib.h>
@@ -91,7 +90,7 @@ playlist_changed_callback(mpdclient_t *c, int event, gpointer data)
}
static const char *
-list_callback(unsigned idx, int *highlight, mpd_unused void *data)
+list_callback(unsigned idx, int *highlight, G_GNUC_UNUSED void *data)
{
static char songname[MAX_SONG_LENGTH];
static scroll_state_t st;
@@ -151,7 +150,8 @@ center_playing_item(mpdclient_t *c)
#ifndef NCMPC_MINI
static void
-save_pre_completion_cb(GCompletion *gcmp, mpd_unused gchar *line, void *data)
+save_pre_completion_cb(GCompletion *gcmp, G_GNUC_UNUSED gchar *line,
+ void *data)
{
completion_callback_data_t *tmp = (completion_callback_data_t *)data;
GList **list = tmp->list;
@@ -165,8 +165,9 @@ save_pre_completion_cb(GCompletion *gcmp, mpd_unused gchar *line, void *data)
}
static void
-save_post_completion_cb(mpd_unused GCompletion *gcmp, mpd_unused gchar *line,
- GList *items, mpd_unused void *data)
+save_post_completion_cb(G_GNUC_UNUSED GCompletion *gcmp,
+ G_GNUC_UNUSED gchar *line, GList *items,
+ G_GNUC_UNUSED void *data)
{
if (g_list_length(items) >= 1)
screen_display_completion_list(items);