[Spice-commits] server/smartcard.c

Yonit Halperin yhalperi at kemper.freedesktop.org
Wed Jul 4 01:16:36 PDT 2012


 server/smartcard.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ffcbf2a6683cff33df1ae9969d1dc4c55fa414c3
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Wed Jul 4 11:14:51 2012 +0300

    smartcard: Remove redefinition of typedef 'SmartCardDeviceState'

diff --git a/server/smartcard.c b/server/smartcard.c
index c844a32..7ec44cb 100644
--- a/server/smartcard.c
+++ b/server/smartcard.c
@@ -52,7 +52,7 @@ typedef struct SmartCardChannelClient {
                            * or was it explicitly malloced */
 } SmartCardChannelClient;
 
-typedef struct SmartCardDeviceState {
+struct SmartCardDeviceState {
     SpiceCharDeviceState *chardev_st;
     uint32_t             reader_id;
     uint32_t             attached;
@@ -63,7 +63,7 @@ typedef struct SmartCardDeviceState {
     uint32_t             buf_used;
 
     SmartCardChannelClient    *scc; // client providing the remote card
-} SmartCardDeviceState;
+};
 
 enum {
     PIPE_ITEM_TYPE_ERROR=1,


More information about the Spice-commits mailing list