From: Yong Bakos Date: Sat, 7 May 2016 14:11:30 +0000 (-0500) Subject: private: Remove unnecessary forward declarations X-Git-Tag: 1.10.92~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f86fbe1a115fe2bf0da066e66ed73349cc2c378c;p=platform%2Fupstream%2Fwayland.git 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 --- 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);