[PATCH spice-server] Avoid to typedef twice RedChannel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's already defined in the same file some lines above.

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]