From: Pekka Paalanen <pekka.paala...@collabora.co.uk>

No users remain outside the file. This will allow to fix the assumptions
in the function.

Signed-off-by: Pekka Paalanen <pekka.paala...@collabora.co.uk>
---
 tests/weston-test-client-helper.c | 2 +-
 tests/weston-test-client-helper.h | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/tests/weston-test-client-helper.c 
b/tests/weston-test-client-helper.c
index 4f610f7..bfe9a0b 100644
--- a/tests/weston-test-client-helper.c
+++ b/tests/weston-test-client-helper.c
@@ -414,7 +414,7 @@ static const struct wl_surface_listener surface_listener = {
        surface_leave
 };
 
-struct wl_buffer *
+static struct wl_buffer *
 create_shm_buffer(struct client *client, int width, int height, void **pixels)
 {
        struct wl_shm *shm = client->wl_shm;
diff --git a/tests/weston-test-client-helper.h 
b/tests/weston-test-client-helper.h
index 6f2d05b..3e1cfcd 100644
--- a/tests/weston-test-client-helper.h
+++ b/tests/weston-test-client-helper.h
@@ -157,9 +157,6 @@ create_client(void);
 struct client *
 create_client_and_test_surface(int x, int y, int width, int height);
 
-struct wl_buffer *
-create_shm_buffer(struct client *client, int width, int height, void **pixels);
-
 struct buffer *
 create_shm_buffer_a8r8g8b8(struct client *client, int width, int height);
 
-- 
2.7.3

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to