summaryrefslogtreecommitdiff
path: root/server/smartcard.c
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2012-07-04 11:14:51 +0300
committerYonit Halperin <yhalperi@redhat.com>2012-07-04 11:16:01 +0300
commitffcbf2a6683cff33df1ae9969d1dc4c55fa414c3 (patch)
treee42ddd5a427c24e368f81d2d268ecd3df1f94a35 /server/smartcard.c
parent10a8c28b95a904e1a526638f1addccb50068736e (diff)
smartcard: Remove redefinition of typedef 'SmartCardDeviceState'
Diffstat (limited to 'server/smartcard.c')
-rw-r--r--server/smartcard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/smartcard.c b/server/smartcard.c
index c844a327..7ec44cb0 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,