diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-08-17 10:50:06 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-08-17 10:50:06 +0200 |
commit | 667fcb04a6385f9e398d64f2073a76a6e0ad3ad6 (patch) | |
tree | 59fa50cbe2bcd622b412aaf0abbdd7ef3d1fc9bd /lib/vtls | |
parent | f975f06033b13033cda040484a011dc287fe1926 (diff) |
nss: make the global variables static
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/nss.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/vtls/nss.c b/lib/vtls/nss.c index ad33f2583..20c4277ce 100644 --- a/lib/vtls/nss.c +++ b/lib/vtls/nss.c @@ -78,13 +78,11 @@ #define SLOTSIZE 13 PRFileDesc *PR_ImportTCPSocket(PRInt32 osfd); - -PRLock * nss_initlock = NULL; -PRLock * nss_crllock = NULL; -struct curl_llist *nss_crl_list = NULL; -NSSInitContext * nss_context = NULL; - -volatile int initialized = 0; +static PRLock *nss_initlock = NULL; +static PRLock *nss_crllock = NULL; +static struct curl_llist *nss_crl_list = NULL; +static NSSInitContext *nss_context = NULL; +static volatile int initialized = 0; typedef struct { const char *name; @@ -183,7 +181,7 @@ static const cipher_s cipherlist[] = { }; static const char* pem_library = "libnsspem.so"; -SECMODModule* mod = NULL; +static SECMODModule* mod = NULL; /* NSPR I/O layer we use to detect blocking direction during SSL handshake */ static PRDescIdentity nspr_io_identity = PR_INVALID_IO_LAYER; |