[Spice-devel] [spice-server] Avoid to typedef twice SmartCardChannelClient
Francois Gouget
fgouget at codeweavers.com
Mon Oct 17 14:17:00 UTC 2016
SmartCardChannelClient is already defined in smartcard.h which
is included in the smartcard-channel-client.h header.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
This patch series is nice and really does help.
I would add this patch to it.
server/smartcard-channel-client.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/server/smartcard-channel-client.h b/server/smartcard-channel-client.h
index 4fe1c72..606a95e 100644
--- a/server/smartcard-channel-client.h
+++ b/server/smartcard-channel-client.h
@@ -37,7 +37,6 @@ G_BEGIN_DECLS
#define SMARTCARD_CHANNEL_CLIENT_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS((obj), TYPE_SMARTCARD_CHANNEL_CLIENT, SmartCardChannelClientClass))
-typedef struct SmartCardChannelClient SmartCardChannelClient;
typedef struct SmartCardChannelClientClass SmartCardChannelClientClass;
typedef struct SmartCardChannelClientPrivate SmartCardChannelClientPrivate;
--
2.9.3
More information about the Spice-devel
mailing list