[PATCH weston 05/19] bindings: Stop exporting internal functions
Jonas Ådahl
jadahl at gmail.com
Wed Jul 1 01:52:02 PDT 2015
On Wed, Jun 03, 2015 at 03:53:24PM -0500, Derek Foreman wrote:
> These functions should never be called outside of the core.
>
> Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
Reviewed-by: Jonas Ådahl <jadahl at gmail.com>
> ---
> src/bindings.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/src/bindings.c b/src/bindings.c
> index 6aeed91..71a982c 100644
> --- a/src/bindings.c
> +++ b/src/bindings.c
> @@ -171,7 +171,7 @@ weston_binding_destroy(struct weston_binding *binding)
> free(binding);
> }
>
> -WL_EXPORT void
> +void
> weston_binding_list_destroy_all(struct wl_list *list)
> {
> struct weston_binding *binding, *tmp;
> @@ -274,7 +274,7 @@ install_binding_grab(struct weston_seat *seat, uint32_t time, uint32_t key,
> }
> }
>
> -WL_EXPORT void
> +void
> weston_compositor_run_key_binding(struct weston_compositor *compositor,
> struct weston_seat *seat,
> uint32_t time, uint32_t key,
> @@ -306,7 +306,7 @@ weston_compositor_run_key_binding(struct weston_compositor *compositor,
> }
> }
>
> -WL_EXPORT void
> +void
> weston_compositor_run_modifier_binding(struct weston_compositor *compositor,
> struct weston_seat *seat,
> enum weston_keyboard_modifier modifier,
> @@ -337,7 +337,7 @@ weston_compositor_run_modifier_binding(struct weston_compositor *compositor,
> }
> }
>
> -WL_EXPORT void
> +void
> weston_compositor_run_button_binding(struct weston_compositor *compositor,
> struct weston_seat *seat,
> uint32_t time, uint32_t button,
> @@ -360,7 +360,7 @@ weston_compositor_run_button_binding(struct weston_compositor *compositor,
> }
> }
>
> -WL_EXPORT void
> +void
> weston_compositor_run_touch_binding(struct weston_compositor *compositor,
> struct weston_seat *seat, uint32_t time,
> int touch_type)
> @@ -378,7 +378,7 @@ weston_compositor_run_touch_binding(struct weston_compositor *compositor,
> }
> }
>
> -WL_EXPORT int
> +int
> weston_compositor_run_axis_binding(struct weston_compositor *compositor,
> struct weston_seat *seat,
> uint32_t time, uint32_t axis,
> @@ -401,7 +401,7 @@ weston_compositor_run_axis_binding(struct weston_compositor *compositor,
> return 0;
> }
>
> -WL_EXPORT int
> +int
> weston_compositor_run_debug_binding(struct weston_compositor *compositor,
> struct weston_seat *seat,
> uint32_t time, uint32_t key,
> --
> 2.1.4
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list