aboutsummaryrefslogtreecommitdiffstats
path: root/src/list_window.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-17 12:29:07 +0200
committerMax Kellermann <max@duempel.org>2008-09-17 12:29:07 +0200
commit75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d (patch)
tree5fb6924e98b6882e8a63771578e56c7c156101a4 /src/list_window.h
parent9e7dda69f7951f678a1b31d693dba90199d17248 (diff)
downloadmpd-75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d.tar.gz
mpd-75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d.tar.xz
mpd-75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d.zip
make several functions return void
Diffstat (limited to 'src/list_window.h')
-rw-r--r--src/list_window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/list_window.h b/src/list_window.h
index 3a9fba4c3..ca93971dd 100644
--- a/src/list_window.h
+++ b/src/list_window.h
@@ -36,7 +36,7 @@ struct list_window *list_window_init(WINDOW *w,
unsigned width, unsigned height);
/* destroy a list window (returns NULL) */
-struct list_window *list_window_free(struct list_window *lw);
+void list_window_free(struct list_window *lw);
/* reset a list window (selected=0, start=0, clear=1) */
void list_window_reset(struct list_window *lw);
@@ -87,7 +87,7 @@ list_window_rfind(struct list_window *lw,
/* list window states */
list_window_state_t *list_window_init_state(void);
-list_window_state_t *list_window_free_state(list_window_state_t *state);
+void list_window_free_state(list_window_state_t *state);
void list_window_push_state(list_window_state_t *state,
struct list_window *lw);
bool list_window_pop_state(list_window_state_t *state, struct list_window *lw);