[PATCH weston 1/6] Export weston_compositor_xkb_init, as required for libweston users

Giulio Camuffo giuliocamuffo at gmail.com
Tue May 24 16:59:05 UTC 2016


---
 src/input.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/input.c b/src/input.c
index 8fe898c..c6cdedd 100644
--- a/src/input.c
+++ b/src/input.c
@@ -2277,7 +2277,7 @@ bind_seat(struct wl_client *client, void *data, uint32_t version, uint32_t id)
 }
 
 #ifdef ENABLE_XKBCOMMON
-int
+WL_EXPORT int
 weston_compositor_xkb_init(struct weston_compositor *ec,
 			   struct xkb_rule_names *names)
 {
@@ -2442,7 +2442,7 @@ weston_compositor_build_global_keymap(struct weston_compositor *ec)
 	return 0;
 }
 #else
-int
+WL_EXPORT int
 weston_compositor_xkb_init(struct weston_compositor *ec,
 			   struct xkb_rule_names *names)
 {
-- 
2.8.3



More information about the wayland-devel mailing list