[Spice-devel] [PATCH 02/23] server/red_worker: s/red_pipe_get/red_channel_pipe_get/

Alon Levy alevy at redhat.com
Fri Feb 11 09:22:50 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 1113b4b..41223a8 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -8291,7 +8291,7 @@ static void red_send_surface_destroy(DisplayChannel *display, uint32_t surface_i
     red_channel_begin_send_message(channel);
 }
 
-static inline PipeItem *red_pipe_get(RedChannel *channel)
+static inline PipeItem *red_channel_pipe_get(RedChannel *channel)
 {
     PipeItem *item;
     if (!channel || channel->send_data.blocked ||
@@ -8406,7 +8406,7 @@ static void display_channel_push(RedWorker *worker)
 {
     PipeItem *pipe_item;
 
-    while ((pipe_item = red_pipe_get((RedChannel *)worker->display_channel))) {
+    while ((pipe_item = red_channel_pipe_get((RedChannel *)worker->display_channel))) {
         display_channel_send_item((RedChannel *)worker->display_channel, pipe_item);
     }
 }
@@ -8461,7 +8461,7 @@ static void cursor_channel_push(RedWorker *worker)
 {
     PipeItem *pipe_item;
 
-    while ((pipe_item = red_pipe_get((RedChannel *)worker->cursor_channel))) {
+    while ((pipe_item = red_channel_pipe_get((RedChannel *)worker->cursor_channel))) {
         cursor_channel_send_item(worker->cursor_channel, pipe_item);
     }
 }
-- 
1.7.4



More information about the Spice-devel mailing list