From 4d3c8bdb98ddd0fe1a4a914d310ae531676f618c Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 5 Apr 2016 14:58:43 +0200 Subject: [PATCH] char-device: Remove duplicate typedef --- server/char-device.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/char-device.h b/server/char-device.h index d92cbab5..0a4ae5de 100644 --- a/server/char-device.h +++ b/server/char-device.h @@ -32,6 +32,7 @@ #define RED_IS_CHAR_DEVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), RED_TYPE_CHAR_DEVICE)) #define RED_CHAR_DEVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), RED_TYPE_CHAR_DEVICE, RedCharDeviceClass)) +/* SpiceCharDeviceState is public API, but internally we use RedCharDevice */ typedef struct SpiceCharDeviceState RedCharDevice; typedef struct RedCharDeviceClass RedCharDeviceClass; typedef struct RedCharDevicePrivate RedCharDevicePrivate; @@ -119,8 +120,6 @@ void red_char_device_set_callbacks(RedCharDevice *dev, * */ struct RedsState; -/* SpiceCharDeviceState is public API, but internally we use RedCharDevice */ -typedef struct SpiceCharDeviceState RedCharDevice; /* buffer that is used for writing to the device */ typedef struct RedCharDeviceWriteBuffer {