[Spice-devel] [PATCH spice-server] Avoid to typedef twice RedChannel
Jonathon Jongsma
jjongsma at redhat.com
Wed Nov 2 15:53:45 UTC 2016
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
On Tue, 2016-11-01 at 12:23 +0000, Frediano Ziglio wrote:
> It's already defined in the same file some lines above.
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> server/red-channel.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/server/red-channel.h b/server/red-channel.h
> index 5908a75..0aa72c5 100644
> --- a/server/red-channel.h
> +++ b/server/red-channel.h
> @@ -154,7 +154,6 @@ static inline gboolean test_capability(const
> uint32_t *caps, int num_caps, uint3
> #define RED_CHANNEL_GET_CLASS(obj) \
> (G_TYPE_INSTANCE_GET_CLASS((obj), RED_TYPE_CHANNEL,
> RedChannelClass))
>
> -typedef struct RedChannel RedChannel;
> typedef struct RedChannelClass RedChannelClass;
> typedef struct RedChannelPrivate RedChannelPrivate;
>
More information about the Spice-devel
mailing list