[PATCH weston v2 05/14] libweston: unexport weston_compositor_add_output()

Pekka Paalanen ppaalanen at gmail.com
Mon Jul 24 15:08:00 UTC 2017


From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Only used by weston_output_enable().

Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
Reviewed-by: Armin Krezović <krezovic.armin at gmail.com>
---
 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
@@ -1719,9 +1719,6 @@ 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
 weston_output_transform_coordinate(struct weston_output *output,
-- 
2.13.0



More information about the wayland-devel mailing list