diff options
author | Thomas Jansen <mithi@mithi.net> | 2008-11-24 03:47:24 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-24 07:47:38 +0100 |
commit | ca56f1e9590bb002fd7db8402eb9d0444d25e769 (patch) | |
tree | 79f0696ea4845aff3f460875677c64a770609974 | |
parent | ec414692c0a075fef3d1f61fc1be484a30149c3d (diff) | |
download | mpd-ca56f1e9590bb002fd7db8402eb9d0444d25e769.tar.gz mpd-ca56f1e9590bb002fd7db8402eb9d0444d25e769.tar.xz mpd-ca56f1e9590bb002fd7db8402eb9d0444d25e769.zip |
screen_help.c: replaced mpd_unused by G_GNUC_UNUSED
Diffstat (limited to '')
-rw-r--r-- | src/screen_help.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/screen_help.c b/src/screen_help.c index 423e85f59..2f06adacd 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 <stdlib.h> #include <string.h> @@ -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); |