[Spice-devel] [PATCH spice-server] Avoid to typedef twice RedChannel

Frediano Ziglio fziglio at redhat.com
Tue Nov 1 12:23:16 UTC 2016


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



More information about the Spice-devel mailing list