[PATCH weston 06/15] libweston: unexport weston_compositor_add_output()

Pekka Paalanen ppaalanen at gmail.com
Tue Apr 4 10:58:09 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>
---
 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 69e63c2..3c8be62 100644
--- a/libweston/compositor.c
+++ b/libweston/compositor.c
@@ -4469,7 +4469,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 6070c77..6c05d59 100644
--- a/libweston/compositor.h
+++ b/libweston/compositor.h
@@ -1715,9 +1715,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.10.2



More information about the wayland-devel mailing list