From 5ddf20b85e478a7bfe155bfb5e4da6f65a16b652 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Mon, 2 May 2011 14:53:48 +0300 Subject: [PATCH] GNUTLS: Make anon_cred and xcred static anon_cred and xcred are defined in src/network/ssl/ssl.c and not mentioned in any other file. Make them static. --- src/network/ssl/ssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/ssl/ssl.c b/src/network/ssl/ssl.c index fa58e1a69..723b265e0 100644 --- a/src/network/ssl/ssl.c +++ b/src/network/ssl/ssl.c @@ -127,8 +127,8 @@ static struct module openssl_module = struct_module( #elif defined(CONFIG_GNUTLS) -gnutls_anon_client_credentials_t anon_cred = NULL; -gnutls_certificate_credentials_t xcred = NULL; +static gnutls_anon_client_credentials_t anon_cred = NULL; +static gnutls_certificate_credentials_t xcred = NULL; #if 0 const static int kx_priority[16] = {