summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@redhat.com>2015-01-19 17:03:14 -0600
committerFabiano FidĂȘncio <fidencio@redhat.com>2015-02-23 23:00:44 +0100
commit9086fef4d705d6b797790f361a581b939ea1e2f9 (patch)
tree39ce14878d368158d6f70978a13481edbc7cc589
parent16bb80ecc429c3758ab7990e924beb28e211144f (diff)
downloadspice-9086fef4d705d6b797790f361a581b939ea1e2f9.tar.gz
spice-9086fef4d705d6b797790f361a581b939ea1e2f9.tar.xz
spice-9086fef4d705d6b797790f361a581b939ea1e2f9.zip
Change reds_char_device_remove_state() to take RedsState arg
-rw-r--r--server/reds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/reds.c b/server/reds.c
index 3a1b9353..4f2d93fe 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -153,7 +153,7 @@ static void reds_mig_target_client_free(RedsState *reds, RedsMigTargetClient *mi
static void reds_mig_cleanup_wait_disconnect(RedsState *reds);
static void reds_mig_remove_wait_disconnect_client(RedsState *reds, RedClient *client);
static void reds_char_device_add_state(RedsState *reds, SpiceCharDeviceState *st);
-static void reds_char_device_remove_state(SpiceCharDeviceState *st);
+static void reds_char_device_remove_state(RedsState *reds, SpiceCharDeviceState *st);
static void reds_send_mm_time(RedsState *reds);
static VDIReadBuf *vdi_port_read_buf_get(RedsState *reds);
@@ -2972,7 +2972,7 @@ static void reds_char_device_add_state(RedsState *reds, SpiceCharDeviceState *st
ring_add(&reds->char_devs_states, &item->link);
}
-static void reds_char_device_remove_state(SpiceCharDeviceState *st)
+static void reds_char_device_remove_state(RedsState *reds, SpiceCharDeviceState *st)
{
RingItem *item;
@@ -2991,7 +2991,7 @@ static void reds_char_device_remove_state(SpiceCharDeviceState *st)
void reds_on_char_device_state_destroy(SpiceCharDeviceState *dev)
{
- reds_char_device_remove_state(dev);
+ reds_char_device_remove_state(reds, dev);
}
static int spice_server_char_device_add_interface(SpiceServer *s,