scanner: Remove unused forward decs from client protocol
authorYong Bakos <ybakos@humanoriented.com>
Fri, 20 May 2016 02:31:16 +0000 (20:31 -0600)
committerBryce Harrington <bryce@osg.samsung.com>
Fri, 20 May 2016 21:58:59 +0000 (14:58 -0700)
commit97fef4821327b5daecbee9c6cb0fc1de93181cff
tree4a6ab86d68958069a72737fb1b0221d005507a48
parentcc11b493426c46e86aee0bcd7c92ca9e9e23030d
scanner: Remove unused forward decs from client protocol

wayland-client-protocol.h had forward declarations for wl_client and
wl_resource, yet nothing on the client side references these types.

Add a 'side' condition to only generate these forward declarations in the
server protocol header.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: <pekka.paalanen@collabora.co.uk>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
src/scanner.c