aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_file.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_file.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_file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen_file.c b/src/screen_file.c
index a3bf192d9..efea4db60 100644
--- a/src/screen_file.c
+++ b/src/screen_file.c
@@ -175,16 +175,16 @@ browse_title(char *str, size_t size)
}
static void
-browse_paint(mpd_unused screen_t *screen, mpd_unused mpdclient_t *c)
+browse_paint(mpd_unused mpdclient_t *c)
{
list_window_paint(browser.lw, browser_lw_callback, browser.filelist);
}
static void
-browse_update(screen_t *screen, mpdclient_t *c)
+browse_update(mpd_unused screen_t *screen, mpdclient_t *c)
{
if (browser.filelist->updated) {
- browse_paint(screen, c);
+ browse_paint(c);
browser.filelist->updated = FALSE;
return;
}