From f9681b564dac97ed5bdd5565e57158116b844611 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Wed, 29 Mar 2017 16:58:48 +0300 Subject: [PATCH] libweston: unexport weston_compositor_add_output() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only used by weston_output_enable(). Signed-off-by: Pekka Paalanen Reviewed-by: Armin Krezović --- libweston/compositor.c | 2 +- libweston/compositor.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/libweston/compositor.c b/libweston/compositor.c index c66193a4..c8bcbb08 100644 --- a/libweston/compositor.c +++ b/libweston/compositor.c @@ -4474,7 +4474,7 @@ weston_output_move(struct weston_output *output, int x, int y) * * \internal */ -WL_EXPORT void +static void weston_compositor_add_output(struct weston_compositor *compositor, struct weston_output *output) { diff --git a/libweston/compositor.h b/libweston/compositor.h index 21c4046d..e90bfe84 100644 --- a/libweston/compositor.h +++ b/libweston/compositor.h @@ -1718,9 +1718,6 @@ weston_output_update_matrix(struct weston_output *output); void weston_output_move(struct weston_output *output, int x, int y); -void -weston_compositor_add_output(struct weston_compositor *compositor, - struct weston_output *output); void weston_output_destroy(struct weston_output *output); void