From f86fbe1a115fe2bf0da066e66ed73349cc2c378c Mon Sep 17 00:00:00 2001 From: Yong Bakos Date: Sat, 7 May 2016 09:11:30 -0500 Subject: [PATCH] private: Remove unnecessary forward declarations Declarations for wl_connection and wl_closure are not needed here. wl_closure already has a complete definition. Removing these forward declarations results in a clean, warning-free compile. Signed-off-by: Yong Bakos Reviewed-by: Derek Foreman [Updated to apply to trunk] Reviewed-by: Bryce Harrington --- src/wayland-private.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wayland-private.h b/src/wayland-private.h index a9a07a8..045109b 100644 --- a/src/wayland-private.h +++ b/src/wayland-private.h @@ -103,10 +103,6 @@ wl_map_lookup_flags(struct wl_map *map, uint32_t i); void wl_map_for_each(struct wl_map *map, wl_iterator_func_t func, void *data); -struct wl_connection; -struct wl_closure; -struct wl_proxy; - struct wl_connection * wl_connection_create(int fd); -- 2.7.4