aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sway/output.h2
-rw-r--r--sway/desktop/output.c2
-rw-r--r--sway/desktop/surface.c2
3 files changed, 2 insertions, 4 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index 9117f350..ccc1097f 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -78,8 +78,6 @@ typedef void (*sway_surface_iterator_func_t)(struct sway_output *output, struct
struct wlr_surface *surface, struct wlr_box *box, float rotation,
void *user_data);
-int output_repaint_timer_handler(void *data);
-
void output_damage_whole(struct sway_output *output);
void output_damage_surface(struct sway_output *output, double ox, double oy,
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index f5c84d96..16c6fc54 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -507,7 +507,7 @@ static bool scan_out_fullscreen_view(struct sway_output *output,
return wlr_output_commit(wlr_output);
}
-int output_repaint_timer_handler(void *data) {
+static int output_repaint_timer_handler(void *data) {
struct sway_output *output = data;
if (output->wlr_output == NULL) {
return 0;
diff --git a/sway/desktop/surface.c b/sway/desktop/surface.c
index 35af2870..767b2045 100644
--- a/sway/desktop/surface.c
+++ b/sway/desktop/surface.c
@@ -5,7 +5,7 @@
#include "sway/server.h"
#include "sway/surface.h"
-void handle_destroy(struct wl_listener *listener, void *data) {
+static void handle_destroy(struct wl_listener *listener, void *data) {
struct sway_surface *surface = wl_container_of(listener, surface, destroy);
surface->wlr_surface->data = NULL;