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

Frediano Ziglio fziglio at redhat.com
Fri Oct 14 09:44:52 UTC 2016


> 
> This fixes a compilation error with gcc 4.4.7 on RHEL 6.8.
> 
> Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
> ---
>  server/red-channel-client.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/server/red-channel-client.h b/server/red-channel-client.h
> index 0b180b3..3b9e34c 100644
> --- a/server/red-channel-client.h
> +++ b/server/red-channel-client.h
> @@ -51,7 +51,6 @@ G_BEGIN_DECLS
>  
>  typedef struct RedChannel RedChannel;
>  typedef struct RedClient RedClient;
> -typedef struct IncomingHandler IncomingHandler;
>  
>  typedef struct RedChannelClient RedChannelClient;
>  typedef struct RedChannelClientClass RedChannelClientClass;

For me

Acked-by: Frediano Ziglio <fziglio at redhat.com>

However I'll wait to understand if others prefer to
remove the typedef from the structure declaration...
but both would work, just style preferences.

Frediano


More information about the Spice-devel mailing list