Make servers global static

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
Frediano Ziglio 2016-06-04 13:07:18 +01:00
parent 48cb6a295b
commit 770b7c8e25

View File

@ -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 {