diff options
author | Max Kellermann <max@duempel.org> | 2008-09-17 12:29:07 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-17 12:29:07 +0200 |
commit | 75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d (patch) | |
tree | 5fb6924e98b6882e8a63771578e56c7c156101a4 /src/screen.c | |
parent | 9e7dda69f7951f678a1b31d693dba90199d17248 (diff) | |
download | mpd-75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d.tar.gz mpd-75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d.tar.xz mpd-75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d.zip |
make several functions return void
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/screen.c b/src/screen.c index 0c59d6940..276500bd4 100644 --- a/src/screen.c +++ b/src/screen.c @@ -413,7 +413,7 @@ paint_status_window(mpdclient_t *c) wnoutrefresh(w); } -int +void screen_exit(void) { guint i; @@ -434,8 +434,6 @@ screen_exit(void) string_list_free(screen.find_history); g_free(screen.buf); g_free(screen.findbuf); - - return 0; } void @@ -620,7 +618,7 @@ ncurses_init(void) refresh(); } -int +void screen_init(mpdclient_t *c) { guint i; @@ -641,8 +639,6 @@ screen_init(mpdclient_t *c) /* initialize wreadln */ wrln_wgetch = my_wgetch; wrln_max_history_length = 16; - - return 0; } void |