diff options
author | Max Kellermann <max@duempel.org> | 2008-10-03 14:30:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-03 14:30:59 +0200 |
commit | 0b2eee9489a8acef3cdee6f6fa0df6d167c53b8d (patch) | |
tree | 0d6f69175f1c45a2815131fc219faec2e3551a0d /src/screen_lyrics.c | |
parent | 1d0e05d6b1621a95acdb18ea03d45ce955495ee4 (diff) | |
download | mpd-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_lyrics.c')
-rw-r--r-- | src/screen_lyrics.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c index b1812de31..be99e6b75 100644 --- a/src/screen_lyrics.c +++ b/src/screen_lyrics.c @@ -84,7 +84,7 @@ screen_lyrics_clear(void) } static void -lyrics_paint(mpdclient_t *c); +lyrics_paint(void); /** * Repaint and update the screen. @@ -92,7 +92,7 @@ lyrics_paint(mpdclient_t *c); static void lyrics_repaint(void) { - lyrics_paint(NULL); + lyrics_paint(); wrefresh(lw->w); } @@ -291,7 +291,7 @@ lyrics_title(char *str, size_t size) } static void -lyrics_paint(mpd_unused mpdclient_t *c) +lyrics_paint(void) { list_window_paint(lw, list_callback, NULL); } |