From: Thomas Jansen Date: Mon, 24 Nov 2008 02:47:24 +0000 (+0100) Subject: screen_help.c: replaced mpd_unused by G_GNUC_UNUSED X-Git-Tag: v0.12_beta1~18 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ca56f1e9590bb002fd7db8402eb9d0444d25e769;p=ncmpc.git screen_help.c: replaced mpd_unused by G_GNUC_UNUSED --- diff --git a/src/screen_help.c b/src/screen_help.c index 423e85f..2f06ada 100644 --- a/src/screen_help.c +++ b/src/screen_help.c @@ -22,7 +22,6 @@ #include "command.h" #include "screen.h" #include "screen_utils.h" -#include "gcc.h" #include #include @@ -142,7 +141,7 @@ static help_text_row_t help_text[] = { static list_window_t *lw; 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 buf[512]; @@ -201,7 +200,7 @@ help_exit(void) static const char * -help_title(mpd_unused char *str, mpd_unused size_t size) +help_title(G_GNUC_UNUSED char *str, G_GNUC_UNUSED size_t size) { return _("Help"); } @@ -213,7 +212,7 @@ help_paint(void) } static bool -help_cmd(mpd_unused mpdclient_t *c, command_t cmd) +help_cmd(G_GNUC_UNUSED mpdclient_t *c, command_t cmd) { if (list_window_scroll_cmd(lw, help_text_rows, cmd)) { list_window_paint(lw, list_callback, NULL);