[Spice-devel] [PATCH 4/8] Make servers global static

Jonathon Jongsma jjongsma at redhat.com
Tue Jun 21 21:52:01 UTC 2016


Acked-by: Jonathon Jongsma <jjongsma at redhat.com>


On Mon, 2016-06-20 at 10:15 +0100, Frediano Ziglio wrote:
> 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 {


More information about the Spice-devel mailing list