mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 01:48:00 +02:00
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
a50e6e4c50. 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>
This commit is contained in:
parent
1ed73246ed
commit
173ff5326d
2 changed files with 2 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -50,8 +50,7 @@ surface_transform(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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue