[spice-server] Avoid to typedef twice SmartCardChannelClient

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



SmartCardChannelClient is already defined in smartcard.h which
is included in the smartcard-channel-client.h header.

Signed-off-by: Francois Gouget <fgouget@xxxxxxxxxxxxxxx>
---

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
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]