Signed-off-by: Pavel Grunt <pgrunt@xxxxxxxxxx> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- m4/spice-compile-warnings.m4 | 1 - server/red-channel.c | 4 ++-- server/red-worker.c | 2 +- server/stream.c | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/m4/spice-compile-warnings.m4 b/m4/spice-compile-warnings.m4 index ee85429..b0e9554 100644 --- a/m4/spice-compile-warnings.m4 +++ b/m4/spice-compile-warnings.m4 @@ -64,7 +64,6 @@ AC_DEFUN([SPICE_COMPILE_WARNINGS],[ # We want to enable thse, but need to sort out the # decl mess with gtk/generated_*.c - dontwarn="$dontwarn -Wmissing-prototypes" dontwarn="$dontwarn -Wmissing-declarations" # Stuff that C++ won't allow. Turn them back on later diff --git a/server/red-channel.c b/server/red-channel.c index 661001a..a02c51a 100644 --- a/server/red-channel.c +++ b/server/red-channel.c @@ -1670,8 +1670,8 @@ int red_channel_client_pipe_item_is_linked(RedChannelClient *rcc, return ring_item_is_linked(&item->link); } -void red_channel_client_pipe_add_tail(RedChannelClient *rcc, - RedPipeItem *item) +static void red_channel_client_pipe_add_tail(RedChannelClient *rcc, + RedPipeItem *item) { client_pipe_add(rcc, item, rcc->pipe.prev); } diff --git a/server/red-worker.c b/server/red-worker.c index b38d7c7..f8b1913 100644 --- a/server/red-worker.c +++ b/server/red-worker.c @@ -1059,7 +1059,7 @@ static void handle_dev_set_streaming_video(void *opaque, void *payload) display_channel_set_stream_video(worker->display_channel, msg->streaming_video); } -void handle_dev_set_video_codecs(void *opaque, void *payload) +static void handle_dev_set_video_codecs(void *opaque, void *payload) { RedWorkerMessageSetVideoCodecs *msg = payload; RedWorker *worker = opaque; diff --git a/server/stream.c b/server/stream.c index 8a137a1..a844ce3 100644 --- a/server/stream.c +++ b/server/stream.c @@ -706,13 +706,13 @@ static void update_client_playback_delay(void *opaque, uint32_t delay_ms) agent->dcc->streams_max_latency); } -void bitmap_ref(gpointer data) +static void bitmap_ref(gpointer data) { RedDrawable *red_drawable = (RedDrawable*)data; red_drawable_ref(red_drawable); } -void bitmap_unref(gpointer data) +static void bitmap_unref(gpointer data) { RedDrawable *red_drawable = (RedDrawable*)data; red_drawable_unref(red_drawable); -- 2.8.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel