diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2016-12-02 14:20:35 +0100 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-01-17 18:24:53 +0100 |
commit | 3d7ca3b9ea78f59d3d66228d28347c58355bc0e5 (patch) | |
tree | e95177c760e250f48e1dad57e802c3bf0d7842c0 /xwayland | |
parent | 23e1d6f176c13034770cfe5b2a2c1ec86e9643c3 (diff) | |
download | weston-3d7ca3b9ea78f59d3d66228d28347c58355bc0e5.tar.gz |
libweston: Properly namespace modules entrypoint
Use different functions so we cannot load a libweston common module in
weston directly or the other way around.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'xwayland')
-rw-r--r-- | xwayland/launcher.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xwayland/launcher.c b/xwayland/launcher.c index 276795af..0ecdb205 100644 --- a/xwayland/launcher.c +++ b/xwayland/launcher.c @@ -351,8 +351,7 @@ const struct weston_xwayland_api api = { extern const struct weston_xwayland_surface_api surface_api; WL_EXPORT int -module_init(struct weston_compositor *compositor, - int *argc, char *argv[]) +weston_module_init(struct weston_compositor *compositor) { struct wl_display *display = compositor->wl_display; |