diff options
author | Taylor Yu <catalyst@torproject.org> | 2018-01-23 15:57:35 -0600 |
---|---|---|
committer | Taylor Yu <catalyst@torproject.org> | 2018-01-23 16:01:26 -0600 |
commit | 37f26aa4700eefa59bb548065dcbb4b98add9a55 (patch) | |
tree | e674417eec4a25fa90d944a9c1981deb4021b85a | |
parent | 23473f5e747a2d9fa2a2a4637283eb53a8c84ca6 (diff) | |
download | tor-37f26aa4700eefa59bb548065dcbb4b98add9a55.tar.gz tor-37f26aa4700eefa59bb548065dcbb4b98add9a55.zip |
Add missing static keywords
crypto_openssl_header_version_str and crypto_openssl_version_str in
crypto_openssl_mgt.c should be static.
-rw-r--r-- | src/common/crypto_openssl_mgt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/crypto_openssl_mgt.c b/src/common/crypto_openssl_mgt.c index bc8f717980..ea3519efa2 100644 --- a/src/common/crypto_openssl_mgt.c +++ b/src/common/crypto_openssl_mgt.c @@ -64,7 +64,7 @@ parse_openssl_version_str(const char *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. */ const char * crypto_openssl_get_version_str(void) @@ -76,7 +76,7 @@ crypto_openssl_get_version_str(void) 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 * number. */ const char * |