Make xwl_output_get_xdg_output() private, it doesn't need to be available elsewhere.
Signed-off-by: Olivier Fourdan <ofour...@redhat.com> Reviewed-by: Lyude Paul <ly...@redhat.com> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> --- 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); -- 2.17.1 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel