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
This commit is contained in:
Christophe Fergeau 2016-04-08 18:19:00 +02:00
parent 0c6e51011b
commit 7d616b3de3

View File

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