[Spice-commits] server/spicevmc.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Tue Nov 15 11:50:56 UTC 2016


 server/spicevmc.c |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 2e34c833913c2d55f0108375c7da2b2d7c627c02
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Tue Nov 15 11:01:05 2016 +0000

    spicevmc: Remove some duplicate typedefs
    
    These cause compiler errors using RHEL6.
    These typedefs are defined in the same file some lines above.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

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,


More information about the Spice-commits mailing list