From 4fe458346cc8a13c6b46d33620b6697d6f3e2086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 29 Mar 2012 13:34:08 -0400 Subject: [PATCH] Remove unused bits from wayland-server.h --- src/wayland-server.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/wayland-server.h b/src/wayland-server.h index c9b59bdc..1a0878b6 100644 --- a/src/wayland-server.h +++ b/src/wayland-server.h @@ -124,17 +124,6 @@ struct wl_buffer { struct wl_resource resource; int32_t width, height; uint32_t busy_count; - void *user_data; -}; - -struct wl_shm_callbacks { - void (*buffer_created)(struct wl_buffer *buffer); - - void (*buffer_damaged)(struct wl_buffer *buffer, - int32_t x, int32_t y, - int32_t width, int32_t height); - - void (*buffer_destroyed)(struct wl_buffer *buffer); }; struct wl_listener { @@ -269,10 +258,6 @@ void wl_resource_post_no_memory(struct wl_resource *resource); #include "wayland-server-protocol.h" -void -wl_display_post_frame(struct wl_display *display, struct wl_surface *surface, - uint32_t msecs); - void wl_client_add_resource(struct wl_client *client, struct wl_resource *resource); @@ -322,8 +307,6 @@ wl_input_device_set_selection(struct wl_input_device *device, uint32_t time); -struct wl_shm; - void * wl_shm_buffer_get_data(struct wl_buffer *buffer);