aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_keydef.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-03 14:30:59 +0200
committerMax Kellermann <max@duempel.org>2008-10-03 14:30:59 +0200
commit0b2eee9489a8acef3cdee6f6fa0df6d167c53b8d (patch)
tree0d6f69175f1c45a2815131fc219faec2e3551a0d /src/screen_keydef.c
parent1d0e05d6b1621a95acdb18ea03d45ce955495ee4 (diff)
downloadmpd-0b2eee9489a8acef3cdee6f6fa0df6d167c53b8d.tar.gz
mpd-0b2eee9489a8acef3cdee6f6fa0df6d167c53b8d.tar.xz
mpd-0b2eee9489a8acef3cdee6f6fa0df6d167c53b8d.zip
screen: don't pass mpdclient pointer to method paint()
None of the paint() implementations acutally uses the mpdclient pointer. Remove it from the method signature.
Diffstat (limited to 'src/screen_keydef.c')
-rw-r--r--src/screen_keydef.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen_keydef.c b/src/screen_keydef.c
index 268bc48d9..b84289d5b 100644
--- a/src/screen_keydef.c
+++ b/src/screen_keydef.c
@@ -121,12 +121,12 @@ check_subcmd_length(void)
}
static void
-keydef_paint(mpdclient_t *c);
+keydef_paint(void);
static void
keydef_repaint(void)
{
- keydef_paint(NULL);
+ keydef_paint();
wrefresh(lw->w);
}
@@ -288,7 +288,7 @@ keydef_title(char *str, size_t size)
}
static void
-keydef_paint(mpd_unused mpdclient_t *c)
+keydef_paint(void)
{
list_window_paint(lw, list_callback, NULL);
}