aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-11-24 03:47:46 +0100
committerMax Kellermann <max@duempel.org>2008-11-24 07:47:38 +0100
commit38ff9027801abc7759798854cc6be7d0f99c2769 (patch)
tree1f2c0cee70c12d7dd44495bce8d9304609f041ec
parentca56f1e9590bb002fd7db8402eb9d0444d25e769 (diff)
downloadmpd-38ff9027801abc7759798854cc6be7d0f99c2769.tar.gz
mpd-38ff9027801abc7759798854cc6be7d0f99c2769.tar.xz
mpd-38ff9027801abc7759798854cc6be7d0f99c2769.zip
screen_keydef.c: replaced mpd_unused by G_GNUC_UNUSED
-rw-r--r--src/screen_keydef.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/screen_keydef.c b/src/screen_keydef.c
index 509a44fc5..d55d4c0d2 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 <errno.h>
#include <stdlib.h>
@@ -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();