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>
This commit is contained in:
+1
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user