[Spice-devel] [PATCH spice-server] spicevmc: Remove some duplicate typedefs

Christophe Fergeau cfergeau at redhat.com
Tue Nov 15 11:29:43 UTC 2016


On Tue, Nov 15, 2016 at 11:03:01AM +0000, Frediano Ziglio wrote:
> These cause compiler errors using RHEL6.
> These typedefs are defined in the same file some lines above.

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

was added very recently fwiw, probably some rebase issue.

Christophe

> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/spicevmc.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/server/spicevmc.c b/server/spicevmc.c
> index c19e996..039a50a 100644
> --- a/server/spicevmc.c
> +++ b/server/spicevmc.c
> @@ -86,9 +86,6 @@ struct RedCharDeviceSpiceVmcClass
>      RedCharDeviceClass parent_class;
>  };
>  
> -typedef struct RedVmcChannel RedVmcChannel;
> -typedef struct RedVmcChannelClass RedVmcChannelClass;
> -
>  static GType red_char_device_spicevmc_get_type(void) G_GNUC_CONST;
>  static RedCharDevice *red_char_device_spicevmc_new(SpiceCharDeviceInstance *sin,
>                                                     RedsState *reds,
> -- 
> 2.7.4
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20161115/e940f5bb/attachment-0001.sig>


More information about the Spice-devel mailing list