aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_keydef.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-25 17:40:59 +0200
committerMax Kellermann <max@duempel.org>2008-09-25 17:40:59 +0200
commit1230f84524fc1625e0ff9eda67e2840334d7916f (patch)
tree47871f4881fb80689c0f5d60cc67cc6dea8bbd82 /src/screen_keydef.c
parentdb3d8351879b4c69408be0e25f45cd514ad42044 (diff)
downloadmpd-1230f84524fc1625e0ff9eda67e2840334d7916f.tar.gz
mpd-1230f84524fc1625e0ff9eda67e2840334d7916f.tar.xz
mpd-1230f84524fc1625e0ff9eda67e2840334d7916f.zip
screen: don't pass screen pointer to method paint()
None of the paint() implementations actually use the screen pointer - remove it from the method signature.
Diffstat (limited to '')
-rw-r--r--src/screen_keydef.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen_keydef.c b/src/screen_keydef.c
index f6ae3d3e9..fbd9905cb 100644
--- a/src/screen_keydef.c
+++ b/src/screen_keydef.c
@@ -278,7 +278,7 @@ keydef_title(char *str, size_t size)
}
static void
-keydef_paint(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c)
+keydef_paint(mpd_unused mpdclient_t *c)
{
list_window_paint(lw, list_callback, NULL);
}