aboutsummaryrefslogtreecommitdiffstats
path: root/src/list_window.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);