[PATCH] Add wl_display_disconnect to the client header

Kristian Hoegsberg hoegsberg at gmail.com
Thu Apr 12 14:50:55 PDT 2012


On Wed, Apr 11, 2012 at 04:57:29PM +0100, Neil Roberts wrote:
> Commit fdbbc38a added a wl_display_disconnect function to the 0.85
> branch so that Mesa can continue to build against both that branch and
> master. However it was missing a declaration in the header so Mesa
> would still fail to build when -Werror is enabled.

Thanks, that make it a bit more useful.
Kristian

> ---
>  src/wayland-client.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/src/wayland-client.h b/src/wayland-client.h
> index efeee4a..42aa97b 100644
> --- a/src/wayland-client.h
> +++ b/src/wayland-client.h
> @@ -72,6 +72,7 @@ typedef void (*wl_callback_func_t)(void *data, uint32_t time);
>  
>  struct wl_display *wl_display_connect(const char *name);
>  void wl_display_destroy(struct wl_display *display);
> +void wl_display_disconnect(struct wl_display *display);
>  int wl_display_get_fd(struct wl_display *display,
>  		      wl_display_update_func_t update, void *data);
>  void wl_display_iterate(struct wl_display *display, uint32_t mask);
> -- 
> 1.7.3.16.g9464b
> 
> _______________________________________________
> 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