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.h | |
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 '')
-rw-r--r-- | src/screen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.h b/src/screen.h index 4ad376ba8..976c75c90 100644 --- a/src/screen.h +++ b/src/screen.h @@ -62,7 +62,7 @@ typedef struct screen_functions { void (*open)(struct screen *screen, mpdclient_t *c); void (*close)(void); void (*resize)(int cols, int rows); - void (*paint)(mpdclient_t *c); + void (*paint)(void); void (*update)(mpdclient_t *c); int (*cmd)(struct screen *scr, mpdclient_t *c, command_t cmd); const char *(*get_title)(char *s, size_t size); |