[PATCH weston 07/15] libweston: unexport weston_output_update_matrix()

Pekka Paalanen ppaalanen at gmail.com
Tue Apr 4 10:58:10 UTC 2017


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

Only used internally in core. Needs to happen automatically when
something changes, so there should no need to call it from outside.

Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
---
 libweston/compositor.c | 5 ++++-
 libweston/compositor.h | 2 --
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/libweston/compositor.c b/libweston/compositor.c
index 3c8be62..baa4176 100644
--- a/libweston/compositor.c
+++ b/libweston/compositor.c
@@ -67,6 +67,9 @@
 #define DEFAULT_REPAINT_WINDOW 7 /* milliseconds */
 
 static void
+weston_output_update_matrix(struct weston_output *output);
+
+static void
 weston_output_transform_scale_init(struct weston_output *output,
 				   uint32_t transform, uint32_t scale);
 
@@ -4339,7 +4342,7 @@ weston_compositor_reflow_outputs(struct weston_compositor *compositor,
 	}
 }
 
-WL_EXPORT void
+static void
 weston_output_update_matrix(struct weston_output *output)
 {
 	float magnification;
diff --git a/libweston/compositor.h b/libweston/compositor.h
index 6c05d59..28e9466 100644
--- a/libweston/compositor.h
+++ b/libweston/compositor.h
@@ -1710,8 +1710,6 @@ void
 weston_output_activate_zoom(struct weston_output *output,
 			    struct weston_seat *seat);
 void
-weston_output_update_matrix(struct weston_output *output);
-void
 weston_output_move(struct weston_output *output, int x, int y);
 
 void
-- 
2.10.2



More information about the wayland-devel mailing list