mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Add missing static keywords
crypto_openssl_header_version_str and crypto_openssl_version_str in crypto_openssl_mgt.c should be static.
This commit is contained in:
parent
23473f5e74
commit
37f26aa470
@ -64,7 +64,7 @@ parse_openssl_version_str(const char *raw_version)
|
|||||||
return tor_strdup(raw_version);
|
return tor_strdup(raw_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
char *crypto_openssl_version_str = NULL;
|
static char *crypto_openssl_version_str = NULL;
|
||||||
/* Return a human-readable version of the run-time openssl version number. */
|
/* Return a human-readable version of the run-time openssl version number. */
|
||||||
const char *
|
const char *
|
||||||
crypto_openssl_get_version_str(void)
|
crypto_openssl_get_version_str(void)
|
||||||
@ -76,7 +76,7 @@ crypto_openssl_get_version_str(void)
|
|||||||
return crypto_openssl_version_str;
|
return crypto_openssl_version_str;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *crypto_openssl_header_version_str = NULL;
|
static char *crypto_openssl_header_version_str = NULL;
|
||||||
/* Return a human-readable version of the compile-time openssl version
|
/* Return a human-readable version of the compile-time openssl version
|
||||||
* number. */
|
* number. */
|
||||||
const char *
|
const char *
|
||||||
|
Loading…
Reference in New Issue
Block a user