From dea40be93577dff80cf25e9b39c2aaea030b9c9e Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Tue, 5 Jun 2018 19:37:58 +0200 Subject: [PATCH] xwayland: make xwl_output_get_xdg_output() static Make xwl_output_get_xdg_output() private, it doesn't need to be available elsewhere. Signed-off-by: Olivier Fourdan Reviewed-by: Lyude Paul Reviewed-by: Emil Velikov (cherry picked from commit d31a7be15e259275599a9f67e0d921471ae64913) --- hw/xwayland/xwayland-output.c | 4 +++- hw/xwayland/xwayland.h | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/xwayland/xwayland-output.c b/hw/xwayland/xwayland-output.c index 48faeb142..379062549 100644 --- a/hw/xwayland/xwayland-output.c +++ b/hw/xwayland/xwayland-output.c @@ -38,6 +38,8 @@ RR_Reflect_X | \ RR_Reflect_Y) +static void xwl_output_get_xdg_output(struct xwl_output *xwl_output); + static Rotation wl_transform_to_xrandr(enum wl_output_transform transform) { @@ -435,7 +437,7 @@ xwl_screen_init_output(struct xwl_screen *xwl_screen) return TRUE; } -void +static void xwl_output_get_xdg_output(struct xwl_output *xwl_output) { struct xwl_screen *xwl_screen = xwl_output->xwl_screen; diff --git a/hw/xwayland/xwayland.h b/hw/xwayland/xwayland.h index 25112e2cb..39bc20a7e 100644 --- a/hw/xwayland/xwayland.h +++ b/hw/xwayland/xwayland.h @@ -440,7 +440,6 @@ void xwl_present_cleanup(WindowPtr window); void xwl_screen_release_tablet_manager(struct xwl_screen *xwl_screen); -void xwl_output_get_xdg_output(struct xwl_output *xwl_output); void xwl_screen_init_xdg_output(struct xwl_screen *xwl_screen); void xwl_glamor_egl_make_current(struct xwl_screen *xwl_screen);