summaryrefslogtreecommitdiff
path: root/ivi-shell
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2016-12-02 14:17:08 +0100
committerQuentin Glidic <sardemff7+git@sardemff7.net>2017-01-17 18:24:58 +0100
commitda01c1d105e1eb72ede863495dd60552b504df05 (patch)
treeefe602399070deffd32eef89055c723daecac987 /ivi-shell
parent8af2beccbd91c2f555eb5e5aa4f8e0455ab28eff (diff)
weston: Make the shell entrypoint specific
This avoids loading a shell as a module, so we are sure to have only one shell loaded at a time. Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'ivi-shell')
-rw-r--r--ivi-shell/ivi-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c
index 43329951..67619b8f 100644
--- a/ivi-shell/ivi-shell.c
+++ b/ivi-shell/ivi-shell.c
@@ -492,8 +492,8 @@ shell_add_bindings(struct weston_compositor *compositor,
* Initialization of ivi-shell.
*/
WL_EXPORT int
-wet_module_init(struct weston_compositor *compositor,
- int *argc, char *argv[])
+wet_shell_init(struct weston_compositor *compositor,
+ int *argc, char *argv[])
{
struct ivi_shell *shell;
struct ivi_shell_setting setting = { };