From 38ff9027801abc7759798854cc6be7d0f99c2769 Mon Sep 17 00:00:00 2001 From: Thomas Jansen Date: Mon, 24 Nov 2008 03:47:46 +0100 Subject: [PATCH] screen_keydef.c: replaced mpd_unused by G_GNUC_UNUSED --- src/screen_keydef.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/screen_keydef.c b/src/screen_keydef.c index 509a44f..d55d4c0 100644 --- a/src/screen_keydef.c +++ b/src/screen_keydef.c @@ -23,7 +23,6 @@ #include "command.h" #include "screen.h" #include "screen_utils.h" -#include "gcc.h" #include #include @@ -188,7 +187,7 @@ assign_new_key(WINDOW *w, int cmd_index, int key_index) } 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[BUFSIZE]; @@ -245,7 +244,7 @@ keydef_exit(void) } static void -keydef_open(mpd_unused mpdclient_t *c) +keydef_open(G_GNUC_UNUSED mpdclient_t *c) { if (cmds == NULL) { command_definition_t *current_cmds = get_command_definitions(); @@ -293,7 +292,7 @@ keydef_paint(void) } static bool -keydef_cmd(mpd_unused mpdclient_t *c, command_t cmd) +keydef_cmd(G_GNUC_UNUSED mpdclient_t *c, command_t cmd) { int length = LIST_LENGTH(); -- 2.30.2