From 27218cd2c922099df65bc3141218e298ba76e59a Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Thu, 2 Feb 2023 13:40:19 +0100 Subject: [PATCH] src/view.c: make view_wlr_output() static .. as there are no external consumers left. --- include/view.h | 2 -- src/view.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/view.h b/include/view.h index 1fb9d911..d00c9a98 100644 --- a/include/view.h +++ b/include/view.h @@ -121,8 +121,6 @@ void view_move_resize(struct view *view, struct wlr_box geo); void view_move(struct view *view, int x, int y); void view_moved(struct view *view); void view_minimize(struct view *view, bool minimized); -/* view_wlr_output - return the output that a view is mostly on */ -struct wlr_output *view_wlr_output(struct view *view); void view_store_natural_geometry(struct view *view); void view_center(struct view *view); void view_restore_to(struct view *view, struct wlr_box geometry); diff --git a/src/view.c b/src/view.c index 8f9d0055..956514d8 100644 --- a/src/view.c +++ b/src/view.c @@ -220,7 +220,7 @@ view_minimize(struct view *view, bool minimized) } /* view_wlr_output - return the output that a view is mostly on */ -struct wlr_output * +static struct wlr_output * view_wlr_output(struct view *view) { assert(view);