diff --git a/src/screen_help.c b/src/screen_help.c
index 5441b7bd712529ed7ea5fadebfa483d96753fd5e..7497c11ad0ff0d73eba5419243037c2cffbf9155 100644 (file)
--- a/src/screen_help.c
+++ b/src/screen_help.c
/* ncmpc (Ncurses MPD Client)
- * (c) 2004-2010 The Music Player Daemon Project
+ * (c) 2004-2017 The Music Player Daemon Project
* Project homepage: http://musicpd.org
*
* This program is free software; you can redistribute it and/or modify
static struct list_window *lw;
static const char *
-list_callback(unsigned i, G_GNUC_UNUSED void *data)
+list_callback(unsigned i, gcc_unused void *data)
{
const struct help_text_row *row = &help_text[i];
static const char *
-help_title(G_GNUC_UNUSED char *str, G_GNUC_UNUSED size_t size)
+help_title(gcc_unused char *str, gcc_unused size_t size)
{
return _("Help");
}
static void
screen_help_paint_callback(WINDOW *w, unsigned i,
unsigned y, unsigned width,
- G_GNUC_UNUSED bool selected,
- G_GNUC_UNUSED void *data)
+ gcc_unused bool selected,
+ gcc_unused const void *data)
{
const struct help_text_row *row = &help_text[i];
}
static bool
-help_cmd(G_GNUC_UNUSED struct mpdclient *c, command_t cmd)
+help_cmd(gcc_unused struct mpdclient *c, command_t cmd)
{
if (list_window_scroll_cmd(lw, cmd)) {
help_paint();