diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2016-04-05 14:58:43 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2016-04-05 16:49:40 +0200 |
commit | 4d3c8bdb98ddd0fe1a4a914d310ae531676f618c (patch) | |
tree | 8c7284fee72d1d4c1f0398ea45bbb067cc91c5a4 | |
parent | eb58bc9ad035bda91c86761e2c982b4114e90e8b (diff) |
char-device: Remove duplicate typedef
-rw-r--r-- | server/char-device.h | 3 |
1 files changed, 1 insertions, 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 { |