[Spice-devel] [PATCH 10/23] server/red_worker: s/channel_handle_message/red_channel_handle_message/

Alon Levy alevy at redhat.com
Fri Feb 11 09:22:58 PST 2011


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

diff --git a/server/red_worker.c b/server/red_worker.c
index b0b3934..84aad9b 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -8907,7 +8907,7 @@ static void on_new_display_channel(RedWorker *worker)
     }
 }
 
-static int channel_handle_message(RedChannel *channel, uint32_t size, uint16_t type, void *message)
+static int red_channel_handle_message(RedChannel *channel, uint32_t size, uint16_t type, void *message)
 {
     switch (type) {
     case SPICE_MSGC_ACK_SYNC:
@@ -9229,7 +9229,7 @@ static int display_channel_handle_message(RedChannel *channel, uint32_t size, ui
     case SPICE_MSGC_MIGRATE_DATA:
         return display_channel_handle_migrate_data((DisplayChannel *)channel, size, message);
     default:
-        return channel_handle_message(channel, size, type, message);
+        return red_channel_handle_message(channel, size, type, message);
     }
 }
 
@@ -9600,7 +9600,7 @@ static void red_connect_cursor(RedWorker *worker, RedsStreamContext *peer, int m
                                                    cursor_channel_send_item,
                                                    cursor_channel_hold_pipe_item,
                                                    cursor_channel_release_item,
-                                                   channel_handle_message))) {
+                                                   red_channel_handle_message))) {
         return;
     }
 #ifdef RED_STATISTICS
-- 
1.7.4



More information about the Spice-devel mailing list