summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 262bf9b)
raw | patch | inline | side by side (parent: 262bf9b)
author | Thomas Jansen <mithi@mithi.net> | |
Mon, 24 Nov 2008 02:48:38 +0000 (03:48 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Mon, 24 Nov 2008 06:47:39 +0000 (07:47 +0100) |
src/screen_play.c | patch | blob | history |
diff --git a/src/screen_play.c b/src/screen_play.c
index aff41bac41371e90eb71b895414aa281b3d9c9ed..6fd586af952b79abfcae42e1f2457d4f046a00cb 100644 (file)
--- a/src/screen_play.c
+++ b/src/screen_play.c
#include "screen.h"
#include "screen_utils.h"
#include "screen_play.h"
-#include "gcc.h"
#include <ctype.h>
#include <stdlib.h>
}
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;
#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;
}
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);