[Spice-devel] [spice] server: Remove a redundant CursorChannelClient typedef

Pavel Grunt pgrunt at redhat.com
Fri Oct 14 09:33:21 UTC 2016


On Fri, 2016-10-14 at 11:28 +0200, Francois Gouget wrote:
> CursorChannelClient is already defined in cursor-channel-client.h.
> This fixes compilation errors with gcc 4.4.7 on RHEL 6.8.
> 
> Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Acked-by: Pavel Grunt <pgrunt at redhat.com>
> ---
>  server/cursor-channel.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/server/cursor-channel.c b/server/cursor-channel.c
> index b152697..5b21a05 100644
> --- a/server/cursor-channel.c
> +++ b/server/cursor-channel.c
> @@ -26,8 +26,6 @@
>  #include "cursor-channel-client.h"
>  #include "reds.h"
>  
> -typedef struct CursorChannelClient CursorChannelClient;
> -
>  enum {
>      RED_PIPE_ITEM_TYPE_CURSOR = RED_PIPE_ITEM_TYPE_COMMON_LAST,
>      RED_PIPE_ITEM_TYPE_CURSOR_INIT,


More information about the Spice-devel mailing list