diff options
author | Max Kellermann <max@duempel.org> | 2008-09-25 18:43:50 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-25 18:43:50 +0200 |
commit | 434615a48f315a0655891149efa42dc6b919e722 (patch) | |
tree | e670eb397a888dd2d4748ed5ffbf39a3f969bc07 /src/screen.h | |
parent | 0469331df0de18c3f23dd69b677f2f183e38a3b0 (diff) | |
download | mpd-434615a48f315a0655891149efa42dc6b919e722.tar.gz mpd-434615a48f315a0655891149efa42dc6b919e722.tar.xz mpd-434615a48f315a0655891149efa42dc6b919e722.zip |
screen: don't pass screen pointer to method update()
play_update() is the only update() implementation left, and it does
not use the screen pointer. Remove it from the method signature.
Diffstat (limited to 'src/screen.h')
-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 8c0a947a0..3ba5541fb 100644 --- a/src/screen.h +++ b/src/screen.h @@ -50,7 +50,7 @@ typedef void (*screen_open_fn_t)(struct screen *screen, mpdclient_t *c); typedef void (*screen_close_fn_t)(void); typedef void (*screen_resize_fn_t)(int cols, int rows); typedef void (*screen_paint_fn_t)(mpdclient_t *c); -typedef void (*screen_update_fn_t)(struct screen *screen, mpdclient_t *c); +typedef void (*screen_update_fn_t)(mpdclient_t *c); typedef int (*screen_cmd_fn_t)(struct screen *scr, mpdclient_t *c, command_t cmd); typedef const char *(*screen_title_fn_t)(char *s, size_t size); |