summaryrefslogtreecommitdiff
path: root/src/dged/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dged/window.h')
-rw-r--r--src/dged/window.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dged/window.h b/src/dged/window.h
index e1b1d25..7738e16 100644
--- a/src/dged/window.h
+++ b/src/dged/window.h
@@ -25,20 +25,20 @@ void windows_init(uint32_t height, uint32_t width,
struct buffer *initial_buffer, struct buffer *minibuffer,
struct buffers *buffers);
-void windows_destroy();
+void windows_destroy(void);
void windows_resize(uint32_t height, uint32_t width);
void windows_update(void *(*frame_alloc)(size_t), float frame_time);
void windows_render(struct display *display);
-struct window *root_window();
-struct window *minibuffer_window();
-struct window *popup_window();
-bool popup_window_visible();
+struct window *root_window(void);
+struct window *minibuffer_window(void);
+struct window *popup_window(void);
+bool popup_window_visible(void);
void windows_set_active(struct window *window);
struct window *windows_focus(uint32_t id);
-struct window *windows_get_active();
-struct window *windows_focus_next();
+struct window *windows_get_active(void);
+struct window *windows_focus_next(void);
struct window *window_find_by_buffer(struct buffer *b);
void window_set_buffer(struct window *window, struct buffer *buffer);
@@ -63,6 +63,6 @@ void window_vsplit(struct window *window, struct window **new_window_a,
void windows_show_popup(uint32_t row, uint32_t col, uint32_t width,
uint32_t height);
-void windows_close_popup();
+void windows_close_popup(void);
#endif