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

Frediano Ziglio fziglio at redhat.com
Tue Nov 15 11:03:01 UTC 2016


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>
---
 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



More information about the Spice-devel mailing list