From ca56f1e9590bb002fd7db8402eb9d0444d25e769 Mon Sep 17 00:00:00 2001 From: Thomas Jansen Date: Mon, 24 Nov 2008 03:47:24 +0100 Subject: [PATCH] screen_help.c: replaced mpd_unused by G_GNUC_UNUSED --- src/screen_help.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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); -- 2.30.2