[Spice-devel] [PATCH 4/8] Make servers global static
Frediano Ziglio
fziglio at redhat.com
Mon Jun 20 09:15:08 UTC 2016
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
server/reds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/reds.c b/server/reds.c
index 3f33c32..c4ffee1 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 {
--
2.7.4
More information about the Spice-devel
mailing list