weston: Properly namespace modules entrypoint
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
@@ -2120,7 +2120,9 @@ load_controller_modules(struct weston_compositor *compositor, const char *module
|
||||
end = strchrnul(p, ',');
|
||||
snprintf(buffer, sizeof buffer, "%.*s", (int)(end - p), p);
|
||||
|
||||
controller_module_init = wet_load_module(buffer, "controller_module_init");
|
||||
controller_module_init =
|
||||
wet_load_module_entrypoint(buffer,
|
||||
"controller_module_init");
|
||||
if (!controller_module_init)
|
||||
return -1;
|
||||
|
||||
|
||||
@@ -492,8 +492,8 @@ shell_add_bindings(struct weston_compositor *compositor,
|
||||
* Initialization of ivi-shell.
|
||||
*/
|
||||
WL_EXPORT int
|
||||
module_init(struct weston_compositor *compositor,
|
||||
int *argc, char *argv[])
|
||||
wet_module_init(struct weston_compositor *compositor,
|
||||
int *argc, char *argv[])
|
||||
{
|
||||
struct ivi_shell *shell;
|
||||
struct ivi_shell_setting setting = { };
|
||||
|
||||
Reference in New Issue
Block a user