[Spice-devel] [spice] server: Remove a redundant CursorChannelClient typedef

Francois Gouget fgouget at codeweavers.com
Fri Oct 14 09:28:14 UTC 2016


CursorChannelClient is already defined in cursor-channel-client.h.
This fixes compilation errors with gcc 4.4.7 on RHEL 6.8.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 server/cursor-channel.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/server/cursor-channel.c b/server/cursor-channel.c
index b152697..5b21a05 100644
--- a/server/cursor-channel.c
+++ b/server/cursor-channel.c
@@ -26,8 +26,6 @@
 #include "cursor-channel-client.h"
 #include "reds.h"
 
-typedef struct CursorChannelClient CursorChannelClient;
-
 enum {
     RED_PIPE_ITEM_TYPE_CURSOR = RED_PIPE_ITEM_TYPE_COMMON_LAST,
     RED_PIPE_ITEM_TYPE_CURSOR_INIT,
-- 
2.9.3



More information about the Spice-devel mailing list