[PATCH 11/16] Change reds_char_device_remove_state() to take RedsState arg

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

 



From: Jonathon Jongsma <jjongsma@xxxxxxxxxx>

---
 server/reds.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/reds.c b/server/reds.c
index 1546b07..8adc656 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -209,7 +209,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);
@@ -3095,7 +3095,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;
 
@@ -3114,7 +3114,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,
-- 
2.4.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://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]