[Spice-devel] [PATCH spice-server 07/10] Avoid to typedef twice RedChannel and RedClient

Frediano Ziglio fziglio at redhat.com
Mon Oct 17 13:26:42 UTC 2016


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



More information about the Spice-devel mailing list