[Spice-devel] [PATCH spice-server 07/10] Avoid to typedef twice RedChannel and RedClient
Jonathon Jongsma
jjongsma at redhat.com
Wed Oct 19 20:42:30 UTC 2016
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
On Mon, 2016-10-17 at 14:26 +0100, Frediano Ziglio wrote:
> These are already defined in red-channel.h which is included in
> red-channel-client.h header.
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> server/red-channel-client.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/server/red-channel-client.h b/server/red-channel-
> client.h
> index 9cc5245..c2c6407 100644
> --- a/server/red-channel-client.h
> +++ b/server/red-channel-client.h
> @@ -49,9 +49,6 @@ G_BEGIN_DECLS
> #define RED_CHANNEL_CLIENT_GET_CLASS(obj) \
> (G_TYPE_INSTANCE_GET_CLASS((obj), RED_TYPE_CHANNEL_CLIENT,
> RedChannelClientClass))
>
> -typedef struct RedChannel RedChannel;
> -typedef struct RedClient RedClient;
> -
> typedef struct RedChannelClient RedChannelClient;
> typedef struct RedChannelClientClass RedChannelClientClass;
> typedef struct RedChannelClientPrivate RedChannelClientPrivate;
More information about the Spice-devel
mailing list