[Spice-commits] server/red-channel.h

Frediano Ziglio fziglio at kemper.freedesktop.org
Wed Nov 2 16:08:00 UTC 2016

 server/red-channel.h |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 19744b41c26a1c2bf80d89902fe531459d0be1bc
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Tue Nov 1 12:22:48 2016 +0000

    Avoid to typedef twice RedChannel
    It's already defined in the same file some lines above.
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Jonathon Jongsma <jjongsma at redhat.com>

diff --git a/server/red-channel.h b/server/red-channel.h
index c136355..0f6b9da 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) \
-typedef struct RedChannel RedChannel;
 typedef struct RedChannelClass RedChannelClass;
 typedef struct RedChannelPrivate RedChannelPrivate;

More information about the Spice-commits mailing list