[Spice-commits] server/reds.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Wed Jun 22 07:03:51 UTC 2016


 server/reds.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 770b7c8e254a63a53c317a766e28c9532a80bb99
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Sat Jun 4 13:07:18 2016 +0100

    Make servers global static
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Jonathon Jongsma <jjongsma at redhat.com>

diff --git a/server/reds.c b/server/reds.c
index 28ab90a..dab3d85 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -150,7 +150,7 @@ static pthread_mutex_t *lock_cs;
 
 /* TODO while we can technically create more than one server in a process,
  * the intended use is to support a single server per process */
-GList *servers = NULL;
+static GList *servers = NULL;
 
 /* SPICE configuration set through the public spice_server_set_xxx APIS */
 struct RedServerConfig {


More information about the Spice-commits mailing list