[PATCH] Add wl_display_disconnect to the client header
Neil Roberts
neil at linux.intel.com
Wed Apr 11 08:57:29 PDT 2012
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.
---
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
More information about the wayland-devel
mailing list