[Spice-commits] server/reds.c

Christophe Fergau teuf at kemper.freedesktop.org
Mon Apr 11 07:45:25 UTC 2016


 server/reds.c |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 7d616b3de3256dac4b773b07531625515bf56d92
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Apr 8 18:19:00 2016 +0200

    char-device: Fix el6 compilation
    
    One more duplicate typedef, once in reds.c and another time in
    reds-private.h
    RedsState::agent_dev is defined in reds-private.h but only used in
    reds.c, so longer term this could all be moved back to reds.c

diff --git a/server/reds.c b/server/reds.c
index e3f479d..f32f3d2 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -224,7 +224,6 @@ typedef struct __attribute__ ((__packed__)) VDInternalBuf {
 #define RED_IS_CHAR_DEVICE_VDIPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), RED_TYPE_CHAR_DEVICE_VDIPORT))
 #define RED_CHAR_DEVICE_VDIPORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), RED_TYPE_CHAR_DEVICE_VDIPORT, RedCharDeviceVDIPortClass))
 
-typedef struct RedCharDeviceVDIPort RedCharDeviceVDIPort;
 typedef struct RedCharDeviceVDIPortClass RedCharDeviceVDIPortClass;
 typedef struct RedCharDeviceVDIPortPrivate RedCharDeviceVDIPortPrivate;
 


More information about the Spice-commits mailing list