[PATCH weston 8/8] tests: Update for API break (module_init)

Quentin Glidic sardemff7+wayland at sardemff7.net
Fri May 17 07:20:44 PDT 2013


From: Quentin Glidic <sardemff7+git at sardemff7.net>

Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
---
 tests/surface-global-test.c | 2 +-
 tests/surface-test.c        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/surface-global-test.c b/tests/surface-global-test.c
index 5bafa08..2da4dd1 100644
--- a/tests/surface-global-test.c
+++ b/tests/surface-global-test.c
@@ -68,7 +68,7 @@ surface_to_from_global(void *data)
 
 WL_EXPORT int
 module_init(struct weston_compositor *compositor,
-	    int *argc, char *argv[], const char *config_file)
+	    int *argc, char *argv[])
 {
 	struct wl_event_loop *loop;
 
diff --git a/tests/surface-test.c b/tests/surface-test.c
index 8157e33..196842e 100644
--- a/tests/surface-test.c
+++ b/tests/surface-test.c
@@ -51,7 +51,7 @@ surface_transform(void *data)
 
 WL_EXPORT int
 module_init(struct weston_compositor *compositor,
-	    int *argc, char *argv[], const char *config_file)
+	    int *argc, char *argv[])
 {
 	struct wl_event_loop *loop;
 
-- 
1.8.2.3



More information about the wayland-devel mailing list