diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2013-02-20 15:37:49 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-02-20 15:37:49 -0500 |
commit | cb4685bbd193d6872b8cbef398170d014f3d5623 (patch) | |
tree | 6e3677f0c82ab43e06a5ca0fe07a9cc1de3772de /tests/surface-global-test.c | |
parent | 4172f668e7838a0e89d09b569d99745228c1c9c0 (diff) | |
download | weston-cb4685bbd193d6872b8cbef398170d014f3d5623.tar.gz |
Pass argc and argv to modules
This lets modules parse options from the command line.
Diffstat (limited to 'tests/surface-global-test.c')
-rw-r--r-- | tests/surface-global-test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/surface-global-test.c b/tests/surface-global-test.c index 5908f60d..5bafa08c 100644 --- a/tests/surface-global-test.c +++ b/tests/surface-global-test.c @@ -67,7 +67,8 @@ surface_to_from_global(void *data) } WL_EXPORT int -module_init(struct weston_compositor *compositor) +module_init(struct weston_compositor *compositor, + int *argc, char *argv[], const char *config_file) { struct wl_event_loop *loop; |