summaryrefslogtreecommitdiff
path: root/tests/surface-global-test.c
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2013-05-17 06:12:50 -0700
committerKristian Høgsberg <krh@bitplanet.net>2013-05-17 16:04:49 -0400
commit173ff5326d66ed6f37ff0a4153a7ab2a788e46e3 (patch)
tree44100c8b062eeb946c3935888a316e33cede2c0f /tests/surface-global-test.c
parent1ed73246ed339897640981e9b7cb0abd84e30241 (diff)
downloadweston-173ff5326d66ed6f37ff0a4153a7ab2a788e46e3.tar.gz
weston-173ff5326d66ed6f37ff0a4153a7ab2a788e46e3.tar.bz2
weston-173ff5326d66ed6f37ff0a4153a7ab2a788e46e3.zip
fix module_init signature in module tests
surface-global-test and surface-test did not get updated to the new module_init(...) signature when it changed in a50e6e4c500e3080b8df7ec14c7e42741477a423. Thus, they failed to compile. Simply running 'make check' shows the problem. This patch fixes it. fixes https://bugs.freedesktop.org/show_bug.cgi?id=64691 Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Diffstat (limited to 'tests/surface-global-test.c')
-rw-r--r--tests/surface-global-test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/surface-global-test.c b/tests/surface-global-test.c
index 5bafa08c..220cb514 100644
--- a/tests/surface-global-test.c
+++ b/tests/surface-global-test.c
@@ -67,8 +67,7 @@ surface_to_from_global(void *data)
}
WL_EXPORT int
-module_init(struct weston_compositor *compositor,
- int *argc, char *argv[], const char *config_file)
+module_init(struct weston_compositor *compositor, int *argc, char *argv[])
{
struct wl_event_loop *loop;