private: Remove unnecessary forward declarations
authorYong Bakos <ybakos@humanoriented.com>
Sat, 7 May 2016 14:11:30 +0000 (09:11 -0500)
committerBryce Harrington <bryce@osg.samsung.com>
Wed, 11 May 2016 18:09:20 +0000 (11:09 -0700)
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 <ybakos@humanoriented.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
[Updated to apply to trunk]
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
src/wayland-private.h

index a9a07a8..045109b 100644 (file)
@@ -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);