Re: [PATCH wayland] scanner: Remove unused forward decs from client protocol

2016-05-20 Thread Pekka Paalanen
On Thu, 19 May 2016 20:31:16 -0600 Yong Bakos wrote: > From: Yong Bakos > > 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 >

[PATCH wayland] scanner: Remove unused forward decs from client protocol

2016-05-19 Thread Yong Bakos
From: Yong Bakos 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 --- src/scanner