summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-10-01 17:22:38 +0200
committerFabiano Fidêncio <fidencio@redhat.com>2015-02-23 23:00:41 +0100
commit9202b9dd2bf3c8335ac5e219fcfe78207378bcd4 (patch)
tree450da1c1d381f0c3ff7adaf8d0f638a47df5e6f3
parent56ff55935b3b167af72081f20d128a2fcec95659 (diff)
downloadspice-9202b9dd2bf3c8335ac5e219fcfe78207378bcd4.tar.gz
spice-9202b9dd2bf3c8335ac5e219fcfe78207378bcd4.tar.xz
spice-9202b9dd2bf3c8335ac5e219fcfe78207378bcd4.zip
worker: remove some unnecessary inline
-rw-r--r--server/dcc-send.c10
-rw-r--r--server/red_worker.c8
2 files changed, 9 insertions, 9 deletions
diff --git a/server/dcc-send.c b/server/dcc-send.c
index 7983ed20..ddd2c784 100644
--- a/server/dcc-send.c
+++ b/server/dcc-send.c
@@ -157,9 +157,9 @@ static PipeItem *dcc_get_tail(DisplayChannelClient *dcc)
return (PipeItem*)ring_get_tail(&RED_CHANNEL_CLIENT(dcc)->pipe);
}
-static inline void red_display_add_image_to_pixmap_cache(RedChannelClient *rcc,
- SpiceImage *image, SpiceImage *io_image,
- int is_lossy)
+static void red_display_add_image_to_pixmap_cache(RedChannelClient *rcc,
+ SpiceImage *image, SpiceImage *io_image,
+ int is_lossy)
{
DisplayChannel *display_channel = SPICE_CONTAINEROF(rcc->channel, DisplayChannel, common.base);
DisplayChannelClient *dcc = RCC_TO_DCC(rcc);
@@ -1646,8 +1646,8 @@ static int encode_frame(DisplayChannelClient *dcc, const SpiceRect *src,
return TRUE;
}
-static inline int red_marshall_stream_data(RedChannelClient *rcc,
- SpiceMarshaller *base_marshaller, Drawable *drawable)
+static int red_marshall_stream_data(RedChannelClient *rcc,
+ SpiceMarshaller *base_marshaller, Drawable *drawable)
{
DisplayChannelClient *dcc = RCC_TO_DCC(rcc);
DisplayChannel *display = DCC_TO_DC(dcc);
diff --git a/server/red_worker.c b/server/red_worker.c
index 768b2ecc..921ca269 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -452,7 +452,7 @@ static int red_process_commands(RedWorker *worker, uint32_t max_pipe_size, int *
return n;
}
-static inline void red_push(RedWorker *worker)
+static void red_push(RedWorker *worker)
{
if (worker->cursor_channel) {
red_channel_push(RED_CHANNEL(worker->cursor_channel));
@@ -491,7 +491,7 @@ static void red_migrate_display(DisplayChannel *display, RedChannelClient *rcc)
}
}
-static inline void flush_display_commands(RedWorker *worker)
+static void flush_display_commands(RedWorker *worker)
{
RedChannel *display_red_channel = RED_CHANNEL(worker->display_channel);
@@ -535,7 +535,7 @@ static inline void flush_display_commands(RedWorker *worker)
}
}
-static inline void flush_cursor_commands(RedWorker *worker)
+static void flush_cursor_commands(RedWorker *worker)
{
RedChannel *cursor_red_channel = RED_CHANNEL(worker->cursor_channel);
@@ -581,7 +581,7 @@ static inline void flush_cursor_commands(RedWorker *worker)
// TODO: on timeout, don't disconnect all channels immediatly - try to disconnect the slowest ones
// first and maybe turn timeouts to several timeouts in order to disconnect channels gradually.
// Should use disconnect or shutdown?
-static inline void flush_all_qxl_commands(RedWorker *worker)
+static void flush_all_qxl_commands(RedWorker *worker)
{
flush_display_commands(worker);
flush_cursor_commands(worker);