diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2024-02-23 18:55:05 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2024-02-23 18:55:05 +0200 |
commit | 45b9e2fc90aec09d1598fdc2a9e4e71a3cdd7fd7 (patch) | |
tree | 72ad5567c29e6cc6daafbdc78435b0693d954e75 | |
parent | e9ee3fd914b73019c51bef85c07c1c835a6b519e (diff) |
compositor: Avoid compiler warning and build failure
This is because we build with warns as failures and possibly the rdp
backend loading isn't enabled.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ia184b1a6fa2ec25b07329f10777c9d47451d53fe
-rw-r--r-- | src/compositor.c | 2 | ||||
-rw-r--r-- | src/ivi-compositor.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/compositor.c b/src/compositor.c index 6447662..2c8c386 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -72,7 +72,7 @@ to_ivi_compositor(struct weston_compositor *ec) return weston_compositor_get_user_data(ec); } -static struct ivi_output_config * +struct ivi_output_config * ivi_init_parsed_options(struct weston_compositor *compositor) { struct ivi_compositor *ivi = to_ivi_compositor(compositor); diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index cb76d8c..62e70e1 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -558,5 +558,7 @@ void _ivi_set_shell_surface_split(struct ivi_surface *surface, struct ivi_output *output, uint32_t orientation, uint32_t width, int32_t sticky, bool to_activate); +struct ivi_output_config * +ivi_init_parsed_options(struct weston_compositor *compositor); #endif |